SIGN IN SIGN UP
fatedier / frp UNCLAIMED

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.

0 0 72 Go

Fix CloseNotifyConn.Close function (#5022)

The CloseNotifyConn.Close() function calls itself if the closeFlag is equal to 0 which would mean it would immediately swap the closeFlag value to 1 and never call closeFn.  It is unclear what the intent of this call to cc.Close() was but I assume it was meant to be a call to close the Conn object instead.
Z
Zachary Whaley committed
ee3cc4b14ea2f8c9581fa06b7151593b94f4ddcc
Parent: e382676
Committed by GitHub <noreply@github.com> on 10/17/2025, 2:53:43 AM