Closed Bug 379493 Opened 17 years ago Closed 17 years ago

Connection left in CLOSE_WAIT when opening link in external application

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 147659

People

(Reporter: dean.prog, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1

Opening a file in an external application (for instance, viewing a pdf in an external xpdf instance) leaves the connection that downloaded the file open until the external viewer is closed.

Reproducible: Always

Steps to Reproduce:
0. [optional] close all instances of xpdf
1. Visit a webpage with a link to a file that will be opened in an external application (for instance: http://refcards.com/refcard/catalyst-forda)
2. click the link and choose to open the file in an external application
3. netstat -p | grep CLOSE_WAIT
Actual Results:  
xpdf has an open connection in the CLOSE_WAIT state

Expected Results:  
the connection should be properly closed before exec'ing xpdf. (at least that is what I figure is needed)
sounds somewhat like bug 147659 (check lsof -i tcp | grep xpdf).  At the very least, fixing that bug should fix this.
Perhaps the same bug, though I do not have problems with open real files (as some of the comments in bug 147659 indicate).

[dean@teckla ~]$ netstat -p | grep CLOSE_WAIT
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        1      0 999.999.9.99:34173      ts4-204.twistspace.:www CLOSE_WAIT 6883/xpdf
tcp        1      0 999.999.9.99:34174      ts4-204.twistspace.:www CLOSE_WAIT 6225/seamonkey-bin
tcp6       1      0 localhost:50577         localhost:47933         CLOSE_WAIT 15372/java
[dean@teckla ~]$ lsof -i tcp | grep xpdf
xpdf.bin   6883 dean   49u  IPv4  97410       TCP 999.999.9.99:34173->ts4-204.twistspace.com:www (CLOSE_WAIT)
xpdf.bin   6883 dean   52u  IPv4  97418       TCP 999.999.9.99:34174->ts4-204.twistspace.com:www (CLOSE_WAIT)
Er, nevermind, forgot that I filtered by tcp. I would call this a dup of bug 147659.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.