$_POST problem with phpLsapi

IO

Active Member
#1
Hi,

I have big problems with phpLsapi when the post data is big (between 4 and 16 Ko) : It randomly truncate the end of the post vars.

I switch to phpFcgi the time to find a solution.
 

mistwang

LiteSpeed Staff
#2
That's a serious issue, can it be reliably reproduced? What is the PHP version? Your OS?

It will be very helpful if you can provide us a sample script to reproduce the bug.

Thanks!
George
 

IO

Active Member
#3
System : RHEL4 Kernel 2.6.9-11.ELsmp
lsws 2.1.4, php 4.4.0 with litespeed patch 1.6

In a form with 7 inputs, and a textarea in the middle, lsphp truncate the textarea vars (often when there is more text) in the middle and drop the next inputs vars.

I will see for a script.
 

IO

Active Member
#4
If you can use phpLsapi and lsws 2.1.4 on this board, you can check for this bug by previewing/posting a medium/big message.
 

xing

LiteSpeed Staff
#6
IO, if you can post a reproducible script, that would do wonders.

I will keep a watch on this to see if this happens to me, though I do not have reports of such cases, on a site with php 5.0.5 + lsws 2.1.4 and lsapi and lots and lots of POST operations.
 

vdl

New Member
#8
i got the same problem with lsws 2.1.9 and php 4.4.1.

os freebsd

data sent to xmlrpc is truncated at almost random places. mostly at 8192. only sometimes php gets past 16kb.
 

vdl

New Member
#10
test script, poster source, win32 and freebsd executables in there http://3priedez.net/files/poster.zip

put test.php somewhere on server
compile yourself or use precompiled binaries
and use it like

poster.exe http://3priedez.net/test.php

sometimes it returns right lenght sometimes it crashes php or smth - 503 Service Unavailable

also strange behavior when posting to url that doesnt exist

<html>
<head><title> 302 Found
</title></head>
<body><h1> 302 Found
</h1>
The docuemnt has been temporarily moved to %shere.<hr />
Powered By LiteSpeed Web Server

<font face="Verdana, Arial, Helvetica" size=-1>Lite Speed Technologies is not responsible for administration and contents of thi
s web site!</font></body></html>
when posting to http://3priedez.net/log/test
folder log exists but file test doesnt
when posting to nonexisting folder it gives normal 404

update:
tested on Apache/1.3.34 (Win32) PHP/4.4.1
works as should be every time - test script returns correct lenght
 
Top