GNOME Bugzilla – Bug 92132
opened socket not close with webpage error
Last modified: 2004-12-22 21:47:04 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.
Created attachment 10817 [details] [review] A patch to fix this problem in libhttp.so
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.