httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugene Teslenko <eugene.tesle...@gmail.com>
Subject Re: Share data between apache modules
Date Sun, 10 May 2015 13:59:48 GMT
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.dev@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.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message