[gnet] GNet 2.0.8 released



Hi all,

just a quick not to let you all know there's finally a GNet-2.0.8
release with a whole bunch of bug fixes. Get it from:

  http://ftp.gnome.org/pub/GNOME/sources/gnet/2.0/

93327d2fca333d7e54ba2cf54e071165  gnet-2.0.8.tar.bz2
f42215834646f656a5ecb2f5376f66ac  gnet-2.0.8.tar.gz

=== What is GNet?

GNet is a simple cross-platform network library, written in C and built
upon GLib. It is intended to be easy to use and to port.  GNet comes
with documentation and examples.  It is licensed under the GNU Library
General Public Licence. See http://www.gnetlibrary.org for more
information.

Features:
  * TCP "client" and "server" sockets
  * UDP and IP Multicast sockets
  * High-level TCP connection and server objects
  * Asynchronous socket IO
  * Internet address abstraction
  * Asynchronous DNS lookup
  * IPv4 and IPv6 support
  * Byte packing and unpacking
  * URI parsing
  * SHA and MD5 hashes
  * Base64 encoding and decoding
  * SOCKS support
  * High-level simple HTTP client


=== Changes in this release:

New API in 2.0.8:
  gnet_conn_set_main_context
  gnet_conn_http_set_main_context
  gnet_conn_http_set_escaped_uri
  gnet_inetaddr_new_async_full
  gnet_inetaddr_new_list_async_full
  gnet_inetaddr_get_name_async_full
  gnet_tcp_socket_connect_async_full
  gnet_tcp_socket_new_async_full
  gnet_tcp_socket_new_async_direct_full
  gnet_unix_socket_new_abstract
  gnet_unix_socket_server_new_abstract
  gnet_uri_parse_inplace

Other noteworthy changes:
 - Dropped support for GLib-1.2
 - new check-based unit-testing setup (try 'make check'
   and 'make check-valgrind' in tests/check/)
 - Eliminate direct pthread usage on unix and use GLib
   GThreads instead (also fixes problems with gdb and
   valgrind) (Andreas Rottmann)
 - GConnHttp is no longer marked as experimental
 - Fix major memory leak in GConnHttp
 - gnet_init() can now safely be called more than once
 - Fix crash when gnet_conn_http_delete() is called from
   within the user callback.
 - GConnHttp: do not emit data events for pages that are
   being redirected to a new location.
 - GConnHttp: add gnet_conn_http_set_escaped_uri()
   (Samuel Cormier-Iijima)
 - Fix build on old systems that have a __ss_family member
   in struct sockaddr_storage instead of ss_family
   (Jeremy Denise)
 - Fix compilation with --enable-debug on some 64-bit
   architectures (Daniel Gryniewicz)
 - GConnHttp: fix several timeout issues
   (Steve Morris, Tim Muller).
 - GConnHttp: fix parsing of POST method response when
   there are optional headers after the 100-Continue
   response (#459895).
 - Relicense source code in examples/ directory from GPL to LGPL.
 - Add 'extern "C"' guards to pack.h to make things work
   with c++ compilers (thanks to Adriano Winter Bess).
 - New API: gnet_conn_write_direct() to
   write buffers asynchroneously without
   copying them (Jeff Garzik)
 - Fix for race condition and subsequent
   crash in asynchroneous DNS lookup
   (Steve Morris, Tim Müller)
 - Pass correct size parameters to bind()
   and connect() when creating unix sockets
   (Zeeshan Ali, #403197)
 - New API: gnet_unix_socket_new_abstract()
   and gnet_unix_socket_server_new_abstract()
   add support for abstract unix sockets on
   systems where this is supported
   (Zeeshan Ali, #404583)
 - Remove unused and pointless fork() fallback
   for asynchronous DNS lookups in cases where
   GLib has been compiled without threading
   support.  It's 2007 - I think it's in order
   to require threading to be present; even my
   wrist watch can do that.  Removs lots of
   unmaintained code and ugly #ifdefs.

Please file any bugs/issues/problems you encounter in
http://bugzilla.gnome.org 

Enjoy!

Cheers
 -Tim

PS: might take a while until the website gets updated




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]