shevabam / ezservermonitor-web

eZ Server Monitor`Web - A simple and lightweight dashboard for Linux
GNU General Public License v3.0
352 stars 128 forks source link

Closing tcp connection #34

Closed phillipodam closed 8 years ago

phillipodam commented 8 years ago

In script libs/Utils/Misc.php, the scanPort function when protocol = tcp never calls fclose on $handle. It does however do it when protocol is udp.

Shouldn't fclose always be called?

shevabam commented 8 years ago

Hello

Yes, you're totally right!

I just fixed it ;)

Thanks!