What does mod_a handler return? How do you register it (ap_hook_handler() line)?
On Sun, May 10, 2015 at 3:59 PM, Eugene Teslenko <eugene.tesle...@gmail.com> wrote: > Thanks for your replies! > After adding pointers to log and disabling handler check inside mod_a, I've > noted the problem. > Error log has three lines for single http-request now: > > mod_a[49059]: test-var=test-string, r_pp=8450610a0, notes_pp=8450621a8, > handler=application/x-httpd-php56 > mod_a[49059]: test-var=test-string, r_pp=84505f028, notes_pp=845060060, > handler=fastcgi-script > mod_b[49059]: test-var=test-string, r_pp=8450610a0, notes_pp=8450621a8, > handler=(null) > > Actually I need to set "test-string" inside "fastcgi-script" handler, but > in this case pointers are changed for unknown reason :( > Also, it's not a subrequest, and r->main is null when handler is > "fastcgi-script". > I'm disappointed. > > > 2015-05-10 14:06 GMT+03:00 Yann Ylavic <ylavic....@gmail.com>: > >> Hi Eugene, >> >> this should work... >> We need more of your code and/or logging to figure out what's going on. >> >> Maybe could you also log r and r->notes (with format "%pp") to see if >> the two modules really share the same request? >> >> Regards, >> Yann. >> >>