httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramon Loureiro <>
Subject [users@httpd] Receiving only 8000 bytes in CGI programs using post method
Date Tue, 07 Nov 2017 11:27:30 GMT

We have an Apache / 2.4.27 (Win32) OpenSSL / 1.0.2l running on Win7. The server serves the
Web pages on port 80 and port 443.

Here is the brief description of the problem we are in.

When we use the Apache server to service non-secure web pages (server running on port 8086)
all bytes are sent to CGI programs during the publishing method. Always returns response 200,
and does not return response 413. But the CGI only reads 8000 bytes, and the rest is not read.

When we use the same server with secure web pages running on port 443, the CGI reads all blocks
other than the first 8000 bytes.

We enable the module mod_dumpio and put it in debug mode, and through it we can see that when
we use SSL the data is read through OpenSSL. The log appears "dumpio_in (data-TRANSIENT):
8192 bytes" and dumpio_in (data-TRANSIENT): 7633 bytes.

Content-Length: 15825, referer:

8192 + 7633 = 15825 bytes

When we do not use SSL, sending the same content appears in the log "dumpio_in (data-HEAP):
8000 bytes", "dumpio_in (data-HEAP): 192 bytes", "dumpio_in (data-HEAP): 568 bytes" dumpio_in
(data-HEAP): 7065 bytes ".

Content-Length: 15825, referer:

8000 + 192 + 568 + 7065 = 15825 bytes

So when we do not use SSL, the CGI only gets the first 8000 bytes, which is the first stack
/ heap block.

For us this solution of using SSL is complicated. Is there another way to solve this?

Any help to solve this problem is greatly appreciated.

Thank you,
Ramon Loureiro

View raw message