http streams: only split headers into two pieces
commit71623a130765345fc9fd1404f36d9b0e038e82b2
authorJim Radford <radford@blackbean.org>
Thu, 6 Nov 2014 17:43:58 +0000 (6 09:43 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Thu, 6 Nov 2014 18:00:27 +0000 (6 10:00 -0800)
treeddd70b27a91a1d72e39f168b62ae8675a3bc5133
parent458b2304b8bf55633248cb03b213b559ee7b5e9c
http streams: only split headers into two pieces

Summary: Limit header explosions to two pieces to avoid truncating header data containing colons.
Closes https://github.com/facebook/hhvm/pull/4147

Reviewed By: @sgolemon

Differential Revision: D1663374

Signature: t1:1663374:1415295777:e15ae52ba0709f440ae0c8ae4ebece29884ff84a
hphp/runtime/base/http-stream-wrapper.cpp