-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACRA 4.7 RC1 PHP server POST empty. #310
Comments
This appears to be a problem with servers running PHP version prior to 5.3.0 I'm not sure I want to change that in the code. as it would mean that the client will cache the entire request until it is 100% sent. |
If you want to change my mind you'll need to provide some good justification. |
@william-ferguson-au I tested php version is PHP 5.5.2 and httpd-2.4.7. not prior to 5.3.0. Tested mod_php with apache : OK This problem occurs when i use a proxy mode. I changed HttpRequest.java. it's work; // urlConnection.setChunkedStreamingMode(0);
urlConnection.setFixedLengthStreamingMode(content.getBytes("UTF-8").length); ACRA know content length. therefore acra can use |
php server not received post data. php server is php-fpm. "Transfer-Encoding: chunked" not work.
when I remove this line. worked.
HttpRequest.java
The text was updated successfully, but these errors were encountered: