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 92132 - opened socket not close with webpage error
opened socket not close with webpage error
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Module: http
2.0.x
Other All
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2002-08-30 16:10 UTC by Ghee Teo
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
A patch to fix this problem in libhttp.so (567 bytes, patch)
2002-08-30 16:13 UTC, Ghee Teo
none Details | Review

Description Ghee Teo 2002-08-30 16:10:07 UTC
Lots of stock ticker users found that their stock ticker applet stopped
working after a couple of days. The root cause seemed to have cause by
/usr/gnome/lib/gtik2_applet2 leaks file descriptor.

On further investigation, I found that the current socket is not closed 
whenever stock ticker came across an error, typically this is 405.

The fix is actuallyin libhttp.so in the function, make_request().
After the call to create_handle(), if the return value is okay then
make socket_buffer = NULL; otherwise, we want to close the socket
further down the function.
Comment 1 Ghee Teo 2002-08-30 16:13:38 UTC
Created attachment 10817 [details] [review]
A patch to fix this problem in libhttp.so
Comment 2 Ghee Teo 2002-09-13 16:40:53 UTC
Ian has asked me to go ahead to commit the fix back to cvs, yippy!
commit changes to HEAD and gnome-2-0 branch.
Also remove from sun-patches this fix.