
GNet BUGS
=========

* gnet_tcp_socket_new_async can block when SOCKS is used

It will block during the SOCKS negotiation after the connection to the
SOCKS server has been made.  This shouldn't be too serious, so it hasn't been fixed yet.


* Process uses 100% CPU  [GLib bug 11059]

On some systems GLib has problems if you use more than one watch on a
file descriptor.  The problem is GLib assumes descriptors can appear
twice in the array passed to poll(), which is true on some systems but
not others (e.g. newer versions of Linux).  If GLib passes an array
that's larger than than number of open decriptors, poll fails.  This
causes GLib to immediately try again, fail, try again, and so on,
looping.  (Newer versions of GLib may warn when this happens.)

One solution is to not set more than one watch per iochannel.  In many
situations this is difficult to do.  In newer versions of Jungle
Monkey, there is a single demultiplexer function that acts as the only
watch and calls the appropriate IO handler.  A simpler alternative is
to replace the limited poll with an unlimited poll.  This requires
distributing an additional file and some autoconf magic.  See Jungle
Monkey 0.1.10 for an example of how to do this.

See GLib bug 11059 on http://bugs.gnome.org.  (The original bug report
is incorrect - the problem is with GLib, not Linux.)


