[jira] [Updated] (TS-3084) Forwarding mode breaks iPhone activation (gs.apple.com)

2014-12-16 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3084:
--
Summary: Forwarding mode breaks iPhone activation (gs.apple.com)  (was: 
forwarding mode breaks iPhone activation (gs.apple.com))

 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)


[jira] [Updated] (TS-3084) forwarding mode breaks iPhone activation (gs.apple.com)

2014-09-19 Thread Susan Hinrichs (JIRA)

 [ 
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)


[jira] [Updated] (TS-3084) forwarding mode breaks iPhone activation (gs.apple.com)

2014-09-18 Thread Nikolai Gorchilov (JIRA)

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

Nikolai Gorchilov updated TS-3084:
--
Description: 
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}

  was:
On iDevice restoration iTunes makes activation request to ga.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}

Summary: forwarding mode breaks iPhone activation (gs.apple.com)  (was: 
forwarding mode breaks iPhone activation (ga.apple.com))

 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
 Attachments: gs.request, gs.response


 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)


[jira] [Updated] (TS-3084) forwarding mode breaks iPhone activation (gs.apple.com)

2014-09-18 Thread Leif Hedstrom (JIRA)

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

Leif Hedstrom updated TS-3084:
--
Fix Version/s: 5.2.0

 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
 Fix For: 5.2.0

 Attachments: gs.request, gs.response


 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)


[jira] [Updated] (TS-3084) forwarding mode breaks iPhone activation (gs.apple.com)

2014-09-18 Thread Susan Hinrichs (JIRA)

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

Susan Hinrichs updated TS-3084:
---
Attachment: partial-request.txt

I was just able to reproduce.  It looks like only part of the gs.request was 
sent before the FIN was sent from ATS.  See the partial request attachment.

 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
 Fix For: 5.2.0

 Attachments: gs.request, gs.response, partial-request.txt


 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)


[jira] [Updated] (TS-3084) forwarding mode breaks iPhone activation (gs.apple.com)

2014-09-18 Thread Alan M. Carroll (JIRA)

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

Alan M. Carroll updated TS-3084:

Assignee: Susan Hinrichs

 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


 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)