Tatsuhiro Tsujikawa

Results 354 comments of Tatsuhiro Tsujikawa

The difference between working client (e.g., nghttp) and hyper client is that former sends content-length, but hyper does not. nghttpx (which forwards request to backend httpbin) uses Transfer-Encoding: chunked in...

Gunicorn. Does it answer your question?

Will check how h2o behaves in this situation. I think it is possible to calculate content-length if all request body is buffered. BTW, why doesn't hyper client set content-length in...

I checked what h2o does. As I guessed, h2o sets content-length if the request body fits in its buffer.

Not sure you like this PR, it is a bit ugly with lots of if-def dance. The only concern at the moment is that if HTTP_BOTH is used and this...

If we pretend that custom methods do not require special treatment of HEAD, then we can follow the rule described in https://tools.ietf.org/html/rfc7230#section-3.3.3, to determine the content length. Of course, this...

Here is my PoC #311 I made nghttpx proxy use this new on_method callback, and it works fine.

I'm doing same thing for those status codes in my projects. Doing that in http-parser would be nice, and secure. It does not break sane application which already checks those...

The cause is probably "0.20" is not quoted by []. `PKG_PROG_PKG_CONFIG([0.20])` will fix the problem.