[svn-commits] lathama: branch 1.8 r308393 - /branches/1.8/main/http.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Feb 21 08:24:47 CST 2011


Author: lathama
Date: Mon Feb 21 08:24:43 2011
New Revision: 308393

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=308393
Log:
Add HTTP URI Debug logging and update notice

enable reporting of the request URI / URL in debugging
change funny debug note to a serious note.


Modified:
    branches/1.8/main/http.c

Modified: branches/1.8/main/http.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/http.c?view=diff&rev=308393&r1=308392&r2=308393
==============================================================================
--- branches/1.8/main/http.c (original)
+++ branches/1.8/main/http.c Mon Feb 21 08:24:43 2011
@@ -661,6 +661,9 @@
 	struct ast_variable *get_vars = NULL, *v, *prev = NULL;
 	struct http_uri_redirect *redirect;
 
+	if (option_debug > 4)
+		ast_verbose("HTTP Request URI is %s \n", uri);
+
 	strsep(&params, "?");
 	/* Extract arguments from the request and store them in variables. */
 	if (params) {
@@ -804,7 +807,7 @@
 		}
 
 		if (option_debug) {
-			ast_log(LOG_DEBUG, "mmm ... cookie!  Name: '%s'  Value: '%s'\n", name, val);
+			ast_log(LOG_DEBUG, "HTTP Cookie, Name: '%s'  Value: '%s'\n", name, val);
 		}
 
 		var = ast_variable_new(name, val, __FILE__);




More information about the svn-commits mailing list