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 2014/11/04 23:27:35 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:
------------------------------
    Fix Version/s:     (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
>
> 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
> {code}
> +++++++++ 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: \*/\*
> {code}
> , 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 was sent by Atlassian JIRA
(v6.3.4#6332)