Changeset 1cb9f3c14dfbec52a6cf7e262ba52600e3405320

Show
Ignore:
Timestamp:
07/17/09 04:40:11 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1247805611 +0000
git-parent:

[e372885bb4096c7f99e1b4dde6d77f5b97592dd0]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1247805611 +0000
Message:

some debugging to help, refs #156

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/http.c

    r4f39b4d r1cb9f3c  
    478478  if(mask & EVENTER_WRITE) desc.rtnevents |= APR_POLLOUT; 
    479479  if(mask & EVENTER_EXCEPTION) desc.rtnevents |= APR_POLLERR; 
     480  noitL(nldeb, "serf_handler() => %d, %x [%c%c%c]\n", 
     481        e->fd, desc.rtnevents, 
     482        (desc.rtnevents & APR_POLLIN) ? 'I' : '-', 
     483        (desc.rtnevents & APR_POLLOUT) ? 'O' : '-', 
     484        (desc.rtnevents & APR_POLLERR) ? 'E' : '-'); 
    480485  serf_event_trigger(ci->context, sct->serf_baton, &desc); 
    481486  serf_context_prerun(ci->context); 
     
    706711  struct __unix_apr_socket_t *hack = (struct __unix_apr_socket_t *)pfd->desc.s; 
    707712 
    708   noitL(nldeb, "serf_eventer_add() => %d\n", hack->socketdes); 
     713  noitL(nldeb, "serf_eventer_add() => %d, %x [%c%c%c]\n", 
     714        hack->socketdes, pfd->reqevents, 
     715        (pfd->reqevents & APR_POLLIN) ? 'I' : '-', 
     716        (pfd->reqevents & APR_POLLOUT) ? 'O' : '-', 
     717        (pfd->reqevents & APR_POLLERR) ? 'E' : '-'); 
    709718  e = eventer_find_fd(hack->socketdes); 
    710719  if(!e) {