xkonni / raspberry-remote

Control remote plugs with the Raspberry Pi, features a webinterface. Uses RCSwitch and wiringPi.
GNU General Public License v2.0
109 stars 47 forks source link

Close sockets if input is read. #36

Closed LucaBernstein closed 4 years ago

LucaBernstein commented 4 years ago

Solves https://github.com/xkonni/raspberry-remote/issues/34

Tried (at least for our use case): No more left open (CLOSE_WAIT) socket connections are kept open (can be checked with sudo lsof -i -P -n) as described in https://github.com/xkonni/raspberry-remote/issues/34

Tested and worked on local setup.

xkonni commented 4 years ago

sounds good. thanks for your help!