You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/03/18 17:18:15 UTC
[jira] [Updated] (TS-1305) unable to get a complete http response
body each time using a extended state machine !
[ https://issues.apache.org/jira/browse/TS-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom updated TS-1305:
------------------------------
Backport to Version: (was: sometime)
> unable to get a complete http response body each time using a extended state machine !
> --------------------------------------------------------------------------------------
>
> Key: TS-1305
> URL: https://issues.apache.org/jira/browse/TS-1305
> Project: Traffic Server
> Issue Type: Bug
> Components: HTTP
> Affects Versions: 3.0.4
> Environment: Ubuntu 10.10
> Reporter: taoyunxing
> Labels: fullresponse, httptransaction
> Fix For: 3.3.3
>
>
> I wrote a third state machine FetchPageSM by modifying the SimpleCont in trafficserver-3.0.4\proxy\SimpleHttp.cc, and I create a http request like this
> +++++++++ Request Header created for ProxyFetchPageSM +++++++++
> -- State Machine Id: 0
> GET http://www.cnbeta.com/articles/192944.htm HTTP/1.1
> Host: www.cnbeta.com
> Proxy-Connection: close
> User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.83 Safari/535.11
> Accept: \*/\*
> , then dns parse url, connect to os, send the above request, finally receive the resposne header and body, surprisely enough I couldn't get the complete response body sometime, because the actual length of response body don't match the Content-Length field in response header, but sometime I get the complete one.
> It seems random in this case, why ??
> I'm very sad,and eager to get some help or hint from experts,help me!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira