[ 
https://issues.apache.org/jira/browse/TS-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Susan Hinrichs updated TS-3084:
-------------------------------
    Attachment: ts-3084.patch

Note:  accidentally applied this patch to related bug ts-3073 last night.

This appears to be very similar to the problem fixed in ts-3073. The ATS logic 
really doesn't like it when the client closes a connection before the server 
finishes sending a response. This patch is built upon the patch for ts-3073. 
But that patch addressed a ts-pass case and this is addressing an HTTP post 
case.
Again using the half_open flag to track that a client has already sent a FIN 
and check the flag after all the data has been read to do a shutdown(IO_READ) 
to send the FIN along to the origin server.

> forwarding mode breaks iPhone activation (gs.apple.com)
> -------------------------------------------------------
>
>                 Key: TS-3084
>                 URL: https://issues.apache.org/jira/browse/TS-3084
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core, HTTP
>            Reporter: Nikolai Gorchilov
>            Assignee: Susan Hinrichs
>             Fix For: 5.2.0
>
>         Attachments: gs.request, gs.response, partial-request.txt, 
> ts-3084.patch
>
>
> On iDevice restoration iTunes makes activation request to gs.apple.com 
> (request attached).
> When sent via ATS, the request leads to HTTP/1.1 400 (bad request) response 
> from origin server.
> Proper response (on direct connection) is also attached for your reference.
> Here's the command to reproduce the problem
> {noformat}
> netcat gs.apple.com 80 < gs.request
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to