tornado
tornado copied to clipboard
Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
NOTE: this is different from https://github.com/tornadoweb/tornado/issues/2763. possibly related to https://github.com/tornadoweb/tornado/issues/2448, but also distinct. After starting a websocket server, I am getting ```python ERROR:asyncio:Task was destroyed but it is pending! task:...
Similarly to `set_cookie`, the `clear_cookie` function should be able to take extra cookie arguments, otherwise the browser may refuse to clear the cookie. This is happening at least for the...
The websocket ping implementation behaves confusingly when the ping timeout is set to less than the ping interval. It doesn't close the connection until the interval has elapsed, even if...
I had an existing set of tests that subclass `AsyncHTTPTestCase` and call routes defined as `/api/some/route` via the `self.fetch` method. These work fine. I decided that I would like the...
I'm unable to build the 'blog' demo application using `docker-compose up`. I'm definitely not a docker expert, so it could just be an easy fix. I try to run `docker-compose...
Do tornado HTTPServers support the notion of max connections? In my use case, I would like the server to stop taking connections once we hit some limit (say 100 users)....
This PR proposes a form for increased flexibility in _a)_ controlling the backlog size for the listening connection(s) a Tornado application ends up using, and _b)_ controlling how many connections...
I wasn't able to get anything working without having `static` in the regex expression for the file handler., I found the solution here, https://stackoverflow.com/questions/9531092/how-to-handle-a-http-get-request-to-a-file-in-tornado/9637895#9637895
so it can be used on an existing asyncio loop without replacing the loop itself. e.g. ```python _selector_threads = {} def _get_selector(): loop = asyncio.get_event_loop() if loop in _selector_threads: return...
This property represents the IP closest to the user. This means it is potentially unsafe because clients can fake it but might be more useful for geolocation purposes. Closes #904...