search for: client_send_400

Displaying 6 results from an estimated 6 matches for "client_send_400".

2004 Aug 06
1
minor error in http response
there is a "copy/paste" error in src/client.c, line 55 (v 2.0.0). it also exists in cvs. in client_send_400, it should return http code 400, not 404. i love this project and like to participate. --- client.c.orig 2004-04-19 17:35:26.000000000 +0800 +++ client.c 2004-04-19 17:36:37.000000000 +0800 @@ -54,11 +54,11 @@ void client_send_400(client_t *client, char *message) { int byt...
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
...to connection, and use read_headers changes. [PATCH 21/31] Add Client in connection_queue_t [PATCH 22/31] Fix Shoutcast, Move it to a one-pass process [tweaks] [PATCH 23/31] connection: duration should be bigger [PATCH 24/31] connection: reorder logic in connection_setup_sockets [PATCH 25/31] client_send_400, print 400 message [PATCH 26/31] Connection: handle_client returns err to client (via client_send_400) [PATCH 27/31] connection: more coments for remy [PATCH 28/31] Big Comments cleanup [PATCH 29/31] connection: client_setup, send 403 when we can for error [PATCH 30/31] connection: _close set...
2004 Aug 06
2
improved error.log output --diff
...if(command < 0) { - ERROR1("Error parsing command string or unrecognised command: %s", - command_string); + ERROR1("Error parsing command string or unrecognised command: %s, %s", + command_string, client->con->ip); client_send_400(client, "Unrecognised command"); return; } @@ -253,7 +253,7 @@ if(!connection_check_admin_pass(client->parser)) { if(!connection_check_source_pass(client->parser, mount)) { INFO1("Bad or missing password on mount modification...
2010 Jun 07
0
No subject
...> =A0[PATCH 21/31] Add Client in connection_queue_t > =A0[PATCH 22/31] Fix Shoutcast, Move it to a one-pass process > > [tweaks] > =A0[PATCH 23/31] connection: duration should be bigger > =A0[PATCH 24/31] connection: reorder logic in connection_setup_sockets > =A0[PATCH 25/31] client_send_400, print 400 message > =A0[PATCH 26/31] Connection: handle_client returns err to client (via cli= ent_send_400) > =A0[PATCH 27/31] connection: more coments for remy > =A0[PATCH 28/31] Big Comments cleanup > =A0[PATCH 29/31] connection: client_setup, send 403 when we can for error > =A0...
2006 Sep 24
1
Add-on patch to support .pls .asx .ram .qtl listing formats
...case COMMAND_BUILDRAM: + command_buildram(client, source, RAW); + break; + case COMMAND_BUILDQTL: + command_buildqtl(client, source, RAW); + break; default: WARN0("Mount request not recognised"); client_send_400(client, "Mount request unknown"); @@ -703,6 +741,138 @@ } +static void command_buildpls(client_t *client, source_t *source, + int response) +{ + char *username = NULL; + char *password = NULL; + ice_config_t *config; + + COMMAND_REQUIRE(client, "username", us...
2004 Aug 06
5
Missing headers in Icecast2
Hi Karl, Thanks for your help, About the "Connection:" header, you are right, it's: "Connection: close" and NOT "Connection: keep-alive". The protocol when the SERVER sends the data is http 1.0. It's http 1.1 when the browser requests the data. I don't understand the "Content-Length: 54000000" header either. Also I noticed the flash player on