request modification
"Neelam Kumar Sharma" <[email protected]> 8 Aug 2015 06:22:11 -0000
| Newsgroups | gmane.comp.web.polipo.user |
|---|---|
| Message-ID | <[email protected]> |
--===============7176020679562300822== Content-Type: multipart/alternative; boundary="=_cb337469fb48467957f99598e1950e97" --=_cb337469fb48467957f99598e1950e97 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" 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 --=_cb337469fb48467957f99598e1950e97 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8" Hi Team,<br><br>When we register an event, request address is stores as dat= a of the event as follow<br><br> event =3D makeFdEvent(fd,<br> &n= bsp;  = ; (operation & IO= _MASK) =3D=3D IO_WRITE ?<br>  = ; &n= bsp; POLLOUT : POLLIN,<br> &= nbsp; &nbs= p; do_scheduled_stream,<br> = &nb= sp; sizeof(StreamRequestRec), &requ= est);<br><br><br>When event occurs, do_scheduled_stream() is called and req= uest is again retrieved as follow<br><br>StreamRequestPtr request =3D (Stre= amRequestPtr)&event->data;<br><br>I believe that, no one is modifyin= g the request between these two calls, Can you please give some clarificati= on on it ? I mainly concerned about the "request->offset" ? <br><b= r>Thanks and Regards,<br> NEELAMKUMR SHARMA<br><A HREF=3D"https://sigads.rediff.com/RealMedia/ads/cli= ck_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target=3D"_blank"><= IMG SRC=3D"https://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.redi= ffmail.com/signatureline.htm@Middle"></A><table cellpadding=3D"0" cellspaci= ng=3D"0"><tbody><tr><td><div style=3D"font-family: Arial, Helvetica, sans-s= erif; font-size:14px">Get your own <span style=3D"padding-bottom: 0px; back= ground-color: #cc0000; padding-left: 3px; padding-RIGHT: 3px; font-family: = Arial, Helvetica, sans-serif; color: #ffffff; font-size: 12px; padding-top:= 0px"><b>FREE</b></span> website, <span style=3D"padding-bottom: 0px; back= ground-color: #c00; padding-left: 3px; padding-RIGHT: 3px; font-family: Ari= al, Helvetica, sans-serif; color: #ffffff; font-size: 12px; padding-top: 0p= x"><b>FREE</b></span> domain & <span style=3D"padding-bottom: 0px; back= ground-color: #c00; padding-left: 3px; padding-RIGHT: 3px; font-family: Ari= al, Helvetica, sans-serif; color: #ffffff; font-size: 12px; padding-top: 0p= x"><b>FREE</b></span> mobile app with Company email. </div></td><td><= a href=3D"http://track.rediff.com/click?url=3D___http://businessemail.redif= f.com?sc_cid=3Dsign-1-10-13___&cmp=3Dhost&lnk=3Dsign-1-10-13&nsrv1=3Dhost" = style=3D"font-family: Arial, Helvetica, sans-serif; color: #fff; font-size:= 14px; color:#0000cc" target=3D"_blank"><b>Know More ></b></a><!-- <in-put = type=3D"button" cl-ass=3D"button" on-click=3D"parent.location=3D'http:/= /track.rediff.com/click?url=3D___http://businessemail.rediff.com/company-em= ail-hosting-services?sc_cid=3Dsignature-23-9-13___&cmp=3Dsignature-23-9= -13&lnk=3Dmypagelogout&nsrv1=3Dhost'" value=3D"Know more >">= </input> --></td></tr></tbody></table> --=_cb337469fb48467957f99598e1950e97-- --===============7176020679562300822== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============7176020679562300822== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Polipo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/polipo-users --===============7176020679562300822==--