You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been going through the docs trying to solve a problem when doing long polling: my buffers don't seem to flush until I respond with > 50kb of data. I found the send_bytes option but I don't want every response to not buffer. Is there a "right way" to prune (like this PR #113 ) after I yield something to a streaming response? I also found this issue #49 discussing the issue, but again I don't think send_bytes is what I want?
Or is send_bytes=1 not that big a deal?
The text was updated successfully, but these errors were encountered:
Leads to terrible performance as we have to loop much more than necessary. Let's use getsockopt for SO_SNDBUF to figure out how much data we can stuff into send in one go without it blocking.
Hey there, first of all: thanks for waitress!
I have been going through the docs trying to solve a problem when doing long polling: my buffers don't seem to flush until I respond with > 50kb of data. I found the
send_bytes
option but I don't want every response to not buffer. Is there a "right way" to prune (like this PR #113 ) after I yield something to a streaming response? I also found this issue #49 discussing the issue, but again I don't thinksend_bytes
is what I want?Or is
send_bytes=1
not that big a deal?The text was updated successfully, but these errors were encountered: