You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -v "http://esp32.local/"
* Trying 192.168.1.23...
* TCP_NODELAY set
* Connected to esp32.local (192.168.1.23) port 80 (#0)
> GET / HTTP/1.1
> Host: esp32.local
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: text/html
* no chunk, no close, no size. Assume close to signal end
<
<!DOCTYPE HTML>
<html>Hello from ESP32 at 192.168.1.23</html>
* Closing connection 0
I am not sure if it's a bug or not but it seems legit to me not to flush the client and just stop the connection.
The text was updated successfully, but these errors were encountered:
pmalhaire
added a commit
to pmalhaire/arduino-esp32
that referenced
this issue
Jun 18, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
Basic Infos
Platform
Settings in IDE
Problem Description
When using mDNS_Web_Server
I got an empty reply from server
If I remove the
client.flush()
call here https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266mDNS/examples/mDNS_Web_Server/mDNS_Web_Server.ino#L106and add a
client.stop()
at the end of the loop.all is working fine.
I am not sure if it's a bug or not but it seems legit to me not to flush the client and just stop the connection.
The text was updated successfully, but these errors were encountered: