After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 342492 - Close idle sockets
Close idle sockets
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-1.0 betas
Other Linux
: Normal normal
: 1.0
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2006-05-21 14:45 UTC by Christophe Lambin
Modified: 2006-07-12 20:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christophe Lambin 2006-05-21 14:45:44 UTC
The 0.9x series currently keep sockets to newsservers open indefinitely. This gives me a problem on one particular newsserver (forums.sybase.com). I suspect that this server is behind a firewall that 'drops' idle TCP connections after a period of time.

As a result, when Pan attempts to reuse an idle connection that's been dropped by the firewall, the task will stall until TCP timeout.

Reverting to pre-0.9x behaviour, where idle connections were dropped after a configurable time, would address this problem.
Comment 1 Charles Kerr 2006-07-04 23:53:40 UTC
the problem is possibly that the rewrite doesn't send
keepalive messages as the old version did.
Comment 2 Charles Kerr 2006-07-12 20:42:36 UTC
I've added back the pre-0.90 behavior of sending idle noop commands
to the news server periodically to keep connections from being dropped.
Please re-open this ticket if this doesn't solve the problem.