print debugging information on the received HTTP headers

This commit is contained in:
Nikos Mavrogiannopoulos
2013-02-17 22:02:25 +01:00
parent f1d769d5be
commit 6ddb1ff631
3 changed files with 69 additions and 42 deletions
+2 -2
View File
@@ -344,7 +344,7 @@ struct cmd_auth_cookie_req_st areq;
int post_old_auth_handler(worker_st *ws)
{
int ret;
struct req_data_st *req = ws->parser->data;
struct req_data_st *req = &ws->req;
const char* reason = "Authentication failed";
char str_cookie[2*COOKIE_SIZE+1];
char * username = NULL;
@@ -464,7 +464,7 @@ auth_fail:
int post_new_auth_handler(worker_st *ws)
{
int ret;
struct req_data_st *req = ws->parser->data;
struct req_data_st *req = &ws->req;
const char* reason = "Authentication failed";
char str_cookie[2*COOKIE_SIZE+1];
char * username = NULL;