[ https://issues.apache.org/jira/browse/TS-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
taoyunxing updated TS-1305: --------------------------- Description: 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! was: 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! > 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: sometime > > > 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira