TCP/IP Connect?

745 views
Skip to first unread message

larry

unread,
Mar 24, 2010, 10:41:19 AM3/24/10
to Fiddler
From time to time, Fiddler adds about 3seconds of TCP/IP Connect. Is
this expected? Or does it mean there is a problem with my network or
ISP? thanks

Request Count: 1
Bytes Sent: 1,104
Bytes Received: 64,144

ACTUAL PERFORMANCE
--------------
ClientConnected: 09:21:17:6250
ClientDoneRequest: 09:21:17:7187
Gateway Determination: 0ms
DNS Lookup: 375ms
TCP/IP Connect: 3047ms
ServerConnected: 09:21:21:1562
ServerGotRequest: 09:21:21:1562
ServerBeginResponse: 09:21:21:2812
ServerDoneResponse: 09:21:21:4531
ClientBeginResponse: 09:21:21:4687
ClientDoneResponse: 09:21:21:4687

Overall Elapsed: 00:00:03.8437500

EricLaw

unread,
Mar 24, 2010, 12:22:35 PM3/24/10
to Fiddler
I don't know what "adds about 3seconds" means. Fiddler does the
following:

let x = TickCount
Socket.Connect
let TCPConnectTime = TickCount - x

Three seconds is a rather long time for a TCP/IP connection to take
place, but it's far from impossible, particularly if you're on a high-
latency connection or if a packet was dropped.

jvo

unread,
May 19, 2010, 4:17:15 PM5/19/10
to Fiddler
I am seeing this same behavior with FiddlerCore. I can reproduce this
fairly often (about 1 in 10 captures). I ran it through wireshark, and
what I see is the first few page objects are downloaded, then a three
second pause with no SYN sents, no DNS lookups, no traffic at all.
Then I see a new connection to a new host which looks normal and fast.
FiddlerCore reports the TCPConnect time as 3 seconds for this object
and the next two. The time is always between 2.95 seconds and 3.05
seconds on my system. I do not see any dropped packets during this
time. I also see this behavior in both IE and Firefox hitting it.
Thanks

On Mar 24, 12:22 pm, EricLaw <bay...@gmail.com> wrote:
> I don't know what "adds about 3seconds" means. Fiddler does the
> following:
>
>  let x = TickCount
>  Socket.Connect
>  let TCPConnectTime = TickCount - x
>
> Three seconds is a rather longtimefor aTCP/IP connection to take
> place, but it's far from impossible, particularly if you're on a high-
> latency connection or if a packet was dropped.
>
> On Mar 24, 7:41 am, larry <larryliw...@gmail.com> wrote:
>
>
>
> > Fromtimetotime, Fiddler adds about 3seconds ofTCP/IPConnect.  Is
> > this expected?  Or does it mean there is a problem with my network or
> > ISP?  thanks
>
> > Request Count:  1
> > Bytes Sent:     1,104
> > Bytes Received: 64,144
>
> > ACTUAL PERFORMANCE
> > --------------
> > ClientConnected:        09:21:17:6250
> > ClientDoneRequest:      09:21:17:7187
> > Gateway Determination:  0ms
> > DNS Lookup:             375ms
> >TCP/IPConnect:         3047ms
> > ServerConnected:        09:21:21:1562
> > ServerGotRequest:       09:21:21:1562
> > ServerBeginResponse:    09:21:21:2812
> > ServerDoneResponse:     09:21:21:4531
> > ClientBeginResponse:    09:21:21:4687
> > ClientDoneResponse:     09:21:21:4687
>
> >         Overall Elapsed:        00:00:03.8437500- Hide quoted text -
>
> - Show quoted text -

--
You received this message because you are subscribed to the Google Groups "Fiddler" group.
To post to this group, send email to httpf...@googlegroups.com.
To unsubscribe from this group, send email to httpfiddler...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/httpfiddler?hl=en.

EricLaw

unread,
May 19, 2010, 5:37:15 PM5/19/10
to Fiddler
Which OS?

Windows XP has the half-open connection limit... perhaps that's a
factor? You should be able to see in your event log:
http://www.phex.org/mambo/content/view/49/33/

jvo

unread,
May 20, 2010, 9:33:10 AM5/20/10
to Fiddler
Eric,

Thanks for the quick response. It is XP, but I am not seeing anything
negative in the event log. I am also hooked into the log notification
event and not seeing anything there, either. Unfortunately, I cannot
install LvlLord's patch on that machine due to it being a work
machine, and I would probably raise a red flag and get my hands sawed
off :).

On May 19, 5:37 pm, EricLaw <bay...@gmail.com> wrote:
> Which OS?
>
> Windows XP has the half-open connection limit... perhaps that's a
> factor? You should be able to see in your event log:http://www.phex.org/mambo/content/view/49/33/
>
> For more options, visit this group athttp://groups.google.com/group/httpfiddler?hl=en.- Hide quoted text -

jvo

unread,
May 20, 2010, 4:02:07 PM5/20/10
to Fiddler
Okay, I ran a few more network captures and apparently missed what was
going on here. TCP slow start is kicking in because I am not getting a
response back from several of the SYNs being sent. The 3 second
timeout is from the MS TCP stack waiting to retransmit. It's just
amazing I am seeing so much of this, so it may very well be our
network here. Thanks
> > For more options, visit this group athttp://groups.google.com/group/httpfiddler?hl=en.-Hide quoted text -
>
> > - Show quoted text -
>
> --
> You received this message because you are subscribed to the Google Groups "Fiddler" group.
> To post to this group, send email to httpf...@googlegroups.com.
> To unsubscribe from this group, send email to httpfiddler...@googlegroups.com.

jvo

unread,
May 21, 2010, 9:49:53 AM5/21/10
to Fiddler
I tested this at home last night and did not see the SYN drops there.
I also tested again on the work machines with reuse connections turned
off for client and server pipes and everything works. It appears our
firewall does not like the way FiddlerCore is reusing the ports, as I
cannot reproduce the SYN drop behavior manually. I noticed in the code
an enum for the pipe reuse policy, but have not been able to figure
out how to enable it. I would think setting the policy to chain to
client connection would fix this the "correct" way for me.
> > > For more options, visit this group athttp://groups.google.com/group/httpfiddler?hl=en.-Hidequoted text -
>
> > > - Show quoted text -
>
> > --
> > You received this message because you are subscribed to the Google Groups "Fiddler" group.
> > To post to this group, send email to httpf...@googlegroups.com.
> > To unsubscribe from this group, send email to httpfiddler...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages