YI-HUNG JEN created THRIFT-2858:
-----------------------------------
Summary: Enable header field case insensitive match in THttpServer
Key: THRIFT-2858
URL: https://issues.apache.org/jira/browse/THRIFT-2858
Project: Thrift
Issue Type: Bug
Components: C++ - Library
Affects Versions: 0.9.2, 0.9.1
Environment: ubuntu 14.04 LTS
gcc 4.8
Reporter: YI-HUNG JEN
Fix For: 0.9.3
Communications between THttpServer in cpp lib and nodejs http client caused
unexpected ECONNRESET. This was caused by nodejs client setting
"Content-length" instead of "Content-Length" in the header field, causing
THttpServer to terminate the request prematurely.
Per HTTP specification, header field name is case insensitive, therefore this
patch used case insensitive match to identify "Content-Length" field.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)