included qparam to url for rewriting

This commit is contained in:
2014-09-06 04:08:31 +00:00
parent 7d447c0dc6
commit 624ffcb006
3 changed files with 31 additions and 7 deletions

View File

@ -2154,17 +2154,18 @@ static int prerewrite_url (qse_httpd_t* httpd, qse_httpd_client_t* client, qse_h
httpd_xtn = qse_httpd_getxtnstd (httpd);
printf ("PREREWRITING.....................\n");
/*
if (qse_htre_getqmethodtype(req) == QSE_HTTP_CONNECT)
{
*url = QSE_NULL;
return 0;
}
*/
/* TODO: override prerewrite url */
return httpd_xtn->org_urs_prerewrite (httpd, client, req, host, url);
}
static void logact_httpd (qse_httpd_t* httpd, const qse_httpd_act_t* act)
{
/*httpd_xtn_t* httpd_xtn;*/