-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes #36, switch to HTTP/1.0 and drop Connection: keep-alive
from httpclient
#39
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM but @cheatfate can you have a look too. One thing that makes me pause is I was expecting chunked transfer to be placed in nim-http-utils
as a more generic process, however perhaps it's better (aka less complex) to have it in place in RPC.
Also I'm wondering how easy it would be to add some simple tests for the chunking. @jangko would this be easy for you to set up? |
honestly, I have no idea where to start, that's why I left it blank. |
@jangko chunked transfer encoding is not supported by
|
luckily, parity also support |
|
switching to |
More then 100k requests per second is not enough for you @jangko, you need more speed? |
I didn't say about speed, I've located the problem inside asyncdispatch2, perhaps we can pending that chunked transfer problem later and for now we can switch to HTTP/1.0 and drop keep-alive connection. |
Connection: keep-alive
from httpclient
@jangko We've been discussing the chunking work and have come to the conclusion that we should stick with HTTP 1.0 for now (which you've already done here) and later have fully genericised chunking code further up in the tool chain. |
done |
closed in favor of 6a0b0ff |
No description provided.