You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "changning zhou (JIRA)" <ji...@apache.org> on 2011/01/06 18:46:45 UTC
[jira] Created: (THRIFT-1030) C++ THttpTransport doesn't support
chucked transfer encoding
C++ THttpTransport doesn't support chucked transfer encoding
------------------------------------------------------------
Key: THRIFT-1030
URL: https://issues.apache.org/jira/browse/THRIFT-1030
Project: Thrift
Issue Type: Improvement
Components: C++ - Library
Affects Versions: 0.5
Reporter: changning zhou
With the chucked transfer encoding, the response of HTTP doesn't have "content-length", instead it has "transfer-encoding:chunked", and send the content by chucks. But the c++ thrift library will treat it as no data, and throw TTransportException.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (THRIFT-1030) C++ THttpTransport doesn't support
chucked transfer encoding
Posted by "Rowan Kerr (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rowan Kerr updated THRIFT-1030:
-------------------------------
Attachment: THRIFT-1030-iequals.patch
> C++ THttpTransport doesn't support chucked transfer encoding
> ------------------------------------------------------------
>
> Key: THRIFT-1030
> URL: https://issues.apache.org/jira/browse/THRIFT-1030
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.5
> Reporter: changning zhou
> Attachments: THRIFT-1030-iequals.patch
>
>
> With the chucked transfer encoding, the response of HTTP doesn't have "content-length", instead it has "transfer-encoding:chunked", and send the content by chucks. But the c++ thrift library will treat it as no data, and throw TTransportException.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (THRIFT-1030) C++ THttpTransport doesn't support
chucked transfer encoding
Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000351#comment-13000351 ]
Roger Meier commented on THRIFT-1030:
-------------------------------------
fixed without committing the patch?
> C++ THttpTransport doesn't support chucked transfer encoding
> ------------------------------------------------------------
>
> Key: THRIFT-1030
> URL: https://issues.apache.org/jira/browse/THRIFT-1030
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.5
> Reporter: changning zhou
> Attachments: THRIFT-1030-iequals.patch
>
>
> With the chucked transfer encoding, the response of HTTP doesn't have "content-length", instead it has "transfer-encoding:chunked", and send the content by chucks. But the c++ thrift library will treat it as no data, and throw TTransportException.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (THRIFT-1030) C++ THttpTransport doesn't support
chucked transfer encoding
Posted by "changning zhou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
changning zhou resolved THRIFT-1030.
------------------------------------
Resolution: Fixed
Thanks for Rowan's patch
> C++ THttpTransport doesn't support chucked transfer encoding
> ------------------------------------------------------------
>
> Key: THRIFT-1030
> URL: https://issues.apache.org/jira/browse/THRIFT-1030
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.5
> Reporter: changning zhou
> Attachments: THRIFT-1030-iequals.patch
>
>
> With the chucked transfer encoding, the response of HTTP doesn't have "content-length", instead it has "transfer-encoding:chunked", and send the content by chucks. But the c++ thrift library will treat it as no data, and throw TTransportException.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (THRIFT-1030) C++ THttpTransport doesn't support
chucked transfer encoding
Posted by "Rowan Kerr (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rowan Kerr updated THRIFT-1030:
-------------------------------
Attachment: THRIFT-1030-iequals.patch
This is caused by response headers with "transfer-encoding" instead of the expected "Transfer-Encoding" string.
Attaching patch to do case-insenstive comparison of headers.
> C++ THttpTransport doesn't support chucked transfer encoding
> ------------------------------------------------------------
>
> Key: THRIFT-1030
> URL: https://issues.apache.org/jira/browse/THRIFT-1030
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.5
> Reporter: changning zhou
> Attachments: THRIFT-1030-iequals.patch
>
>
> With the chucked transfer encoding, the response of HTTP doesn't have "content-length", instead it has "transfer-encoding:chunked", and send the content by chucks. But the c++ thrift library will treat it as no data, and throw TTransportException.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (THRIFT-1030) C++ THttpTransport doesn't support
chucked transfer encoding
Posted by "Rowan Kerr (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rowan Kerr updated THRIFT-1030:
-------------------------------
Attachment: (was: THRIFT-1030-iequals.patch)
> C++ THttpTransport doesn't support chucked transfer encoding
> ------------------------------------------------------------
>
> Key: THRIFT-1030
> URL: https://issues.apache.org/jira/browse/THRIFT-1030
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.5
> Reporter: changning zhou
>
> With the chucked transfer encoding, the response of HTTP doesn't have "content-length", instead it has "transfer-encoding:chunked", and send the content by chucks. But the c++ thrift library will treat it as no data, and throw TTransportException.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (THRIFT-1030) C++ THttpTransport doesn't support
chucked transfer encoding
Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier reassigned THRIFT-1030:
-----------------------------------
Assignee: Rowan Kerr
Thanks, just committed Rowan's patch to trunk.
> C++ THttpTransport doesn't support chucked transfer encoding
> ------------------------------------------------------------
>
> Key: THRIFT-1030
> URL: https://issues.apache.org/jira/browse/THRIFT-1030
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.5
> Reporter: changning zhou
> Assignee: Rowan Kerr
> Attachments: THRIFT-1030-iequals.patch
>
>
> With the chucked transfer encoding, the response of HTTP doesn't have "content-length", instead it has "transfer-encoding:chunked", and send the content by chucks. But the c++ thrift library will treat it as no data, and throw TTransportException.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira