zerovm / zerocloud

Swift middleware for Zerocloud
Apache License 2.0
53 stars 14 forks source link

fix empty stdin from request #153

Closed pkit closed 10 years ago

pkit commented 10 years ago

in some requests the stdin channel can be attached to request data if the request data is empty the channel local path was unpopulated which lead to HTTP 400 this patch will populate the local path for stdin with /dev/null in such case (this is a standard behavior for CGI) fixes issue #152

pkit commented 10 years ago

recheck please

larsbutler commented 10 years ago

retest this please

larsbutler commented 10 years ago

Cool, I'm testing this now.

larsbutler commented 10 years ago

Yep, it's fixed! Nice work. =)