[mod_python] mod_python/publisher/solaris truncation problems

Gregory (Grisha) Trubetskoy grisha at verio.net
Wed Feb 21 10:25:01 EST 2001


Interesting... I'll have to look into this. It makes sense, since Solaris
is a 64 bit OS whereas Linux on i386 is 32 bit. I haven't done much
Solaris testing, I guess I'll have to do more.

Grisha

On Wed, 21 Feb 2001, Joost Yervante Damad wrote:

> Hi!
>
> A while ago I send a mail reporting a bug stating that
> cgi attribute/value pairs get truncated in our Solaris 2.6
> apachessl with latest mod_python, when xxx=yyy total
> length smaller then 8 bytes.
>
> It seems to be related to the python/C interfacing...
> and it also looks like a 32bit/64bit alike problem.
> Anyway, we (I and a colleage) found the following workaround,
> basically eliminating some of the Python/C interface calls
> from the function "parse_qsl" in
> _apachemodule.c
>
> Note that this seems to be a Solaris only problem since
> we did not have it on Linux.
>
> Attached is a modified _apachemodule.c with a
> working, but probably not the best...fix.
> But at least it works for us, and we don't need the
> performance.
>
> Any thoughts on this?
>
> Thanks,
>
> --
> Joost Damad - Siemens IC D NC A - +3214252297
> --
> Five is a sufficiently close approximation to infinity.
>        -- Robert Firth
> "One, two, five."
>        -- Monty Python and the Holy Grail
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
>




More information about the Mod_python mailing list