NanoHttpd / nanohttpd

Tiny, easily embeddable HTTP server in Java.
http://nanohttpd.org
BSD 3-Clause "New" or "Revised" License
6.94k stars 1.69k forks source link

Use it as a WebServer, but close the client after client connect #642

Closed nciaewlf closed 1 year ago

nciaewlf commented 1 year ago

023-08-10 15:23:22.326 18259-18301/com.example.mytour D/TAG: onOpen: ip: 192.168.20.33, host: 192.168.20.33, uri: / 2023-08-10 15:23:27.334 18259-18301/com.example.mytour D/TAG: onException: ip: 192.168.20.33, host: 192.168.20.33, uri: / 2023-08-10 15:23:27.334 18259-18301/com.example.mytour D/TAG: onException: exception: java.net.SocketTimeoutException: Read timed out 2023-08-10 15:23:27.336 18259-18301/com.example.mytour D/TAG: onClose: ip: 192.168.20.33, host: 192.168.20.33, uri: / 2023-08-10 15:23:27.337 18259-18301/com.example.mytour D/TAG: onClose: code: InternalServerError, reason: Handler terminated without closing the connection., initiatedByRemote: false