L. Kärkkäinen

Results 252 comments of L. Kärkkäinen

Addenum: due to `fork` being used for creating workers, it also works the same within non-module-level startup code as in your sample code, as long as the startup code gets...

> Ok, given this I suggest that the documentation and examples be updated to state that when calling `add_task` to pass the raw method. That would avoid the issue in...

Should probably deprecate passing a coroutine object to avoid this problem. I wonder how much trouble it would cause app developers if we gave deprecation warnings or eventually removed the...

To use runtime information such as proxy headers, you need `request.url_for` instead of `app.url_for` - this is the difference between the two. But setting up `SERVER_NAME` and relying on it...

@GabrielCappelli Setting to `float('inf')` should do the trick.

Zero to denote infinity is IMO a bad idea, even if many do it. I've seen inf used quite a bit for this on Python, but `None` could also work.

I believe the timeout polling function is canceled at the end of the connection, but granted, it could be entirely avoided when there are no timeouts at all. However, the...

FWIW, it is a good practice to set `None` all variables that refer to other objects once you are finished with them. This breaks cycles that prevent instant deletion of...

If anyone investigates this, could you also check whether we can in that situation do a cleaner TLS shutdown? I believe the client cannot currently receive the proper alert code...

I have looked into this, and it would appear to be a limitation of both asyncio and uvloop Protocol/Transport API. Using a bare SSLSocket I get the proper response on...