gnet r477 - in trunk: . src tests/check/gnet



Author: tpm
Date: 2007-11-05 17:18:47 +0000 (Mon, 05 Nov 2007)
New Revision: 477
ViewCVS link: http://svn.gnome.org/viewcvs/gnet?rev=477&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/conn-http.c
   trunk/src/conn-http.h
   trunk/tests/check/gnet/gnetconnhttp.c
Log:
	* src/conn-http.c: (gnet_conn_http_conn_recv_response):
	  Check the server response for a supported protocol and emit an
	  error event if a non-supported protocol is encountered; also emit
	  an error if the response is malformed.
	* src/conn-http.h:
	  Fix typo in docs.
	* tests/check/gnet/gnetconnhttp.c: (icy_async_cb),
	  (test_shoutcast), (gnetconnhttp_suite):
	  Add unit test to make sure we accept shoutcast (ICY) server responses
	  in addition to HTTP server responses.






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