gsocketconnection: Document closing connections with g_io_stream_close()
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 13 Feb 2014 10:58:21 +0000 (10:58 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 13 Feb 2014 14:09:48 +0000 (14:09 +0000)
commit169846c5ab19abaa5474f5b5f30c3deef645ee03
tree757a99ef3815e957cf9fe130f2fedcdf6166f027
parent0017728c8c19ac0e64eee7740e43138d85885ee2
gsocketconnection: Document closing connections with g_io_stream_close()

It’s not enough to close a connection by calling g_input_stream_close()
and g_output_stream_close() on its two substreams: to close the
underlying socket, one must use g_io_stream_close(). Document that.

https://bugzilla.gnome.org/show_bug.cgi?id=724278
gio/giostream.c
gio/gsocketconnection.c