Hi Team,

When we register an event, request address is stores as data of the event as 
follow

 event = makeFdEvent(fd,
                       
 (operation & IO_MASK) == IO_WRITE ?
                       
 POLLOUT : POLLIN,
                       
 do_scheduled_stream,
                       
 sizeof(StreamRequestRec), &request);


When event occurs, do_scheduled_stream() is called and request is again 
retrieved as follow

StreamRequestPtr request = (StreamRequestPtr)&event->data;

I believe that, no one is modifying the request between these two calls, Can 
you please give some clarification on it ? I mainly concerned about the 
"request->offset"  ? 

Thanks and Regards,

NEELAMKUMR SHARMA
------------------------------------------------------------------------------
_______________________________________________
Polipo-users mailing list
Polipo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/polipo-users

Reply via email to