mashupbots / socko

A Scala web server powered by Netty networking and AKKA processing.
Other
255 stars 51 forks source link

fix Expect: 100-continue error #100

Closed navicore closed 9 years ago

navicore commented 9 years ago

socko can't handle posts from curl version 7.30.0 greater len than 1024 without disabling http 1.1 in the client due to "http 1.1 expect 100-continue" behavior.

to reproduce, post 2k data with curl with and without the -0 "curl -0" option to disable http 1.1.

this fix comes from netty issue https://github.com/netty/netty/issues/2606 resolution