Closed
Description
Basic Infos
Hardware
Hardware: ESP-12F
Core Version: 2.3.0
Description
Using the ESP8266WebServer from library, making a big POST in the body, sometimes the reply from server is Empty.
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 4MB/3MB
CPU Frequency: 80Mhz
Flash Mode: dio
Flash Frequency: 40Mhz
Upload Using: SERIAL
Reset Method: ck
Sketch
I think is not necessary, because my function is not called, the library stops it before. My BODY length is 2277.
Debug Messages
FROM CURL:
curl -s -v -X POST -L http://192.168.250.141/schedule -d@schedule | jq .
* Trying 192.168.250.141...
* TCP_NODELAY set
* Connected to 192.168.250.141 (192.168.250.141) port 80 (#0)
> POST /schedule HTTP/1.1
> Host: 192.168.250.141
> User-Agent: curl/7.56.0
> Accept: */*
> Content-Length: 2277
> Content-Type: application/x-www-form-urlencoded
> Expect: 100-continue
>
* Done waiting for 100-continue
} [2277 bytes data]
* We are completely uploaded and fine
* Empty reply from server
* Connection #0 to host 192.168.250.141 left intact
FROM Arduino IDE with ALL Debugs Enabled:
New client
:ref 2
:ur 2
method: POST url: /schedule search:
headerName: Host
headerValue: 192.168.250.141
headerName: User-Agent
headerValue: curl/7.56.0
headerName: Accept
headerValue: */*
headerName: Content-Length
headerValue: 2277
headerName: Content-Type
headerValue: application/x-www-form-urlencoded
headerName: Expect
headerValue: 100-continue
:c0 1, 181
:ur 1
:close
WS:dis
:del
Sometimes the 100-continue, works OK, sometimes gives a empty reply.