Expect 100-continue errors

Jan Dvorak jan.dvorak at kraxnet.cz
Wed Dec 9 18:46:05 EST 2009


Eric Wong wrote:
> Hi Jan,
>
> Try disabling automatic code reloading under Rails development mode.
>
>   
Thanks, that worked.
> Unicorn (and Rainbows!) are the only Ruby servers I know of that allow
> Rack applications to properly return and continue with 100 responses.
>
> Unicorn calls your Rack app twice in this case: it sees a 100 response,
> writes the 100-continue response and then does app.call(env) again after
> deleting the "Expect: 100-continue" header from env.
>
> I haven't tested this under Rails so I don't know how well it works with
> what Rails does under the covers, but I've done this heavily with bare
> Rack applications.
>
>   
After googling, it seems like rails error, it creates locks but never
properly releases them, and deadlocks upon class reloading.


Thanks,
Jan


More information about the mongrel-unicorn mailing list