Re: NSMutableURLRequest: Keeping the connection open
Re: NSMutableURLRequest: Keeping the connection open
- Subject: Re: NSMutableURLRequest: Keeping the connection open
- From: Mark Pauley <email@hidden>
- Date: Mon, 4 Apr 2011 11:20:48 -0700
It would appear that the remote server (or some hardware between you and the server) is shutting the connection down on you. Not really too much CFNetwork can do in that case. Do you have logs for the server? It would be interesting to know what exactly is happening from the server's point of view. RST can be a pain, they can come from anywhere :(
_Mark
On Apr 2, 2011, at 6:31 AM, Thomas Engelmeier wrote:
>
> On 02.04.2011, at 01:20, Mark Pauley wrote:
>
>> Wait, do you see a new tcp handshake for each request? Did CFNetwork close the connection or is there just an SSL re-negotiation on each request?
>
> Given I see increasing client port numbers with each cert packet I'm asserting closed connections:
>
>
> Packet received at 1301750599.448583
> TCP packet from 17.250.248.122:https(443) to 192.168.167.19:51530 (0 bytes)
> ACK
> Packet received at 1301750599.449949
> TCP packet from 17.250.248.122:https(443) to 192.168.167.19:51530 (0 bytes)
> ACK
> Packet received at 1301750599.512245
> TCP packet from 79.125.9.81:https(443) to 192.168.167.19:51533 (0 bytes)
> ACK
> Packet received at 1301750599.514022
> TCP packet from 79.125.9.81:https(443) to 192.168.167.19:51533 (1106 bytes) <== Certificate
> ACK PUSH
> [...]
>
> Packet received at 1301750599.867625
> TCP packet from 17.250.248.122:https(443) to 192.168.167.19:51531 (0 bytes)
> ACK
> Packet received at 1301750599.868384
> TCP packet from 79.125.9.81:https(443) to 192.168.167.19:51533 (0 bytes)
> RST <== Connection Reset??
>
> Packet received at 1301750599.960213
> TCP packet from 79.125.9.81:https(443) to 192.168.167.19:51534 (0 bytes)
> ACK
> Packet received at 1301750599.961955
> TCP packet from 79.125.9.81:https(443) to 192.168.167.19:51534 (1106 bytes) <== Next certificate
> ACK PUSH
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden