Project

General

Profile

Bug #1134 » httpdebug.patch

Adam Sutton, 2012-08-23 11:33

View differences:

src/http.c
338 338
{
339 339
  int err;
340 340

  
341
  tvhlog(LOG_DEBUG, "http", "http_exec()");
342
  tvhlog(LOG_DEBUG, "http", "url      = %s (%s)", hc->hc_url, hc->hc_url_orig);
343
  tvhlog(LOG_DEBUG, "http", "path     = %s", hp->hp_path);
344
  tvhlog(LOG_DEBUG, "http", "access   = 0x%08x", hp->hp_accessmask);
345
  tvhlog(LOG_DEBUG, "http", "ticket   = %s",
346
         http_arg_get(&hc->hc_req_args, "ticket"));
347
  tvhlog(LOG_DEBUG, "http", "user     = %s", hc->hc_username);
348
  tvhlog(LOG_DEBUG, "http", "pass     = %s", hc->hc_password);
349
  tvhlog(LOG_DEBUG, "http", "callback = %p", hp->hp_callback);
350

  
341 351
  if(http_access_verify(hc, hp->hp_accessmask))
342 352
    err = HTTP_STATUS_UNAUTHORIZED;
343 353
  else
(2-2/3)