I got the same error when I posted data via curl and HTTP to OpenLiteSpeed 1.7.16-2.el8 configured to proxy to Apache HTTP Server.
curl -vvvvvvk -XPOST -d @example.txt
http://localhost/smashlet/rpc
Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying ::1...
* TCP_NODELAY set
* connect to ::1 port 80 failed: Yhteys torjuttu
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 80 (#0)
> POST /smashlet/rpc HTTP/1.1
> Host: localhost
> User-Agent: curl/7.61.1
> Accept: */*
> Content-Length: 21528
> Content-Type: application/x-www-form-urlencoded
> Expect: 100-continue
>
* Done waiting for 100-continue
* We are completely uploaded and fine
< HTTP/1.1 100 Continue
* Empty reply from server
* Connection #0 to host localhost left intact
curl: (52) Empty reply from server
OpenLiteSpeed:
127.0.0.1 - - [28/Oct/2022:17:43:27 +0300] "POST /smashlet/rpc HTTP/1.1" 100 - "-" "curl/7.61.1"
Apache HTTP Server:
127.0.0.1 - - [28/Oct/2022:17:43:28 +0300] "POST /smashlet/rpc HTTP/1.1" 200 788