Commit 953c8585 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove debug messages in httpd

parent 1a559bd2
...@@ -1600,7 +1600,7 @@ static void httpd_ClientRecv( httpd_client_t *cl ) ...@@ -1600,7 +1600,7 @@ static void httpd_ClientRecv( httpd_client_t *cl )
if( cl->i_buffer >= 4 ) if( cl->i_buffer >= 4 )
{ {
fprintf( stderr, "peek=%4.4s\n", cl->p_buffer ); /*fprintf( stderr, "peek=%4.4s\n", cl->p_buffer );*/
/* detect type */ /* detect type */
if( cl->p_buffer[0] == '$' ) if( cl->p_buffer[0] == '$' )
{ {
...@@ -1714,7 +1714,7 @@ static void httpd_ClientRecv( httpd_client_t *cl ) ...@@ -1714,7 +1714,7 @@ static void httpd_ClientRecv( httpd_client_t *cl )
p = NULL; p = NULL;
cl->query.i_type = HTTPD_MSG_NONE; cl->query.i_type = HTTPD_MSG_NONE;
fprintf( stderr, "received new request=%s\n", cl->p_buffer); /*fprintf( stderr, "received new request=%s\n", cl->p_buffer);*/
for( i = 0; msg_type[i].name != NULL; i++ ) for( i = 0; msg_type[i].name != NULL; i++ )
{ {
...@@ -1886,7 +1886,7 @@ static void httpd_ClientRecv( httpd_client_t *cl ) ...@@ -1886,7 +1886,7 @@ static void httpd_ClientRecv( httpd_client_t *cl )
cl->i_activity_timeout = 0; cl->i_activity_timeout = 0;
/* Debugging only */ /* Debugging only */
if( cl->i_state == HTTPD_CLIENT_RECEIVE_DONE ) /*if( cl->i_state == HTTPD_CLIENT_RECEIVE_DONE )
{ {
int i; int i;
...@@ -1909,7 +1909,7 @@ static void httpd_ClientRecv( httpd_client_t *cl ) ...@@ -1909,7 +1909,7 @@ static void httpd_ClientRecv( httpd_client_t *cl )
fprintf( stderr, " - option name='%s' value='%s'\n", fprintf( stderr, " - option name='%s' value='%s'\n",
cl->query.name[i], cl->query.value[i] ); cl->query.name[i], cl->query.value[i] );
} }
} }*/
} }
...@@ -1954,8 +1954,8 @@ static void httpd_ClientSend( httpd_client_t *cl ) ...@@ -1954,8 +1954,8 @@ static void httpd_ClientSend( httpd_client_t *cl )
cl->i_buffer = 0; cl->i_buffer = 0;
cl->i_buffer_size = (uint8_t*)p - cl->p_buffer; cl->i_buffer_size = (uint8_t*)p - cl->p_buffer;
fprintf( stderr, "sending answer\n" ); /*fprintf( stderr, "sending answer\n" );
fprintf( stderr, "%s", cl->p_buffer ); fprintf( stderr, "%s", cl->p_buffer );*/
} }
i_len = httpd_NetSend( cl, &cl->p_buffer[cl->i_buffer], i_len = httpd_NetSend( cl, &cl->p_buffer[cl->i_buffer],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment