[xiph-commits] r9159 - icecast/branches/kh/icecast/src

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Wed Apr 20 13:18:54 PDT 2005


Author: karl
Date: 2005-04-20 13:18:51 -0700 (Wed, 20 Apr 2005)
New Revision: 9159

Modified:
   icecast/branches/kh/icecast/src/connection.c
Log:
handle bad request better


Modified: icecast/branches/kh/icecast/src/connection.c
===================================================================
--- icecast/branches/kh/icecast/src/connection.c	2005-04-20 13:43:29 UTC (rev 9158)
+++ icecast/branches/kh/icecast/src/connection.c	2005-04-20 20:18:51 UTC (rev 9159)
@@ -985,8 +985,7 @@
                 }
                 else {
                     ERROR0("Wrong request type from client");
-                    connection_close(con);
-                    httpp_destroy(parser);
+                    client_send_400 (client, "unknown request");
                 }
 
                 free(uri);



More information about the commits mailing list