flat assembler
Message board for the users of flat assembler.

Index > Windows > IE9 weird socket issue

Author
Thread Post new topic Reply to topic
sleepsleep



Joined: 05 Oct 2006
Posts: 13172
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 0010456
sleepsleep 17 Feb 2013, 18:04
maybe you got some experience dealing with IE9, i have a weird issue.

let me show you how my server interact with quetannon, so we got some idea how things works.
Code:
[A]      s[216]
[R]      s[216]
----------------------------------- recv : 29 bytes
hello world from quetannon.

[C]      s[216]
    


i start the server, open IE9, browse to http://localhost,
stop the browser, and then finally close the browser.
Code:
[A]      s[212]
[A]      s[220]
[R]      s[220]
----------------------------------- recv : 239 bytes
GET / HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-us
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/5.0)
Accept-Encoding: gzip, deflate
Host: localhost
Connection: Keep-Alive


         s[220] WSAGETSELECTERROR - 0X2745
[C]      s[220]
         s[212] WSAGETSELECTERROR - 0X2745
[C]      s[212]
    


if i didn't close the browser, socket s[212] wouldnt get closed

why IE9 make 2 sockets connection, either one send GET, another one sent nothing.


firefox pattern
Code:
[A]      s[212]
[R]      s[212]
----------------------------------- recv : 284 bytes
GET / HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:18.0) Gecko/20100101 Firefox/18.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive


[C]      s[212]
    
Post 17 Feb 2013, 18:04
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 18 Feb 2013, 10:19
Probably some kind of optimization. Why don't you set a breakpoint on socket creation in iexplore.exe (use windbg), load the public symbols (srv*http://msdl.microsoft.com/download/symbols), and look at the stack? The names of the routines will give you a hint as to what it is doing.
Post 18 Feb 2013, 10:19
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 13172
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 0010456
sleepsleep 18 Feb 2013, 11:03
wow, i think that is beyond my capability, =(

optimization, maybe, i notice for 2 attempt to access http://localhost on 2nd tab, it uses the s[212] socket,

maybe this is designed by IE team, probably, i guess,

i will try force close the socket and see if IE crashed.
Post 18 Feb 2013, 11:03
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.