Skip to content

Commit

Permalink
close inbound ray when there is an error
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Jan 11, 2016
1 parent adf5820 commit 8daea1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proxy/vmess/inbound/inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ func (this *VMessInboundHandler) HandleConnection(connection *net.TCPConn) error
aesStream, err := v2crypto.NewAesEncryptionStream(responseKey[:], responseIV[:])
if err != nil {
log.Error("VMessIn: Failed to create AES decryption stream: %v", err)
close(input)
return err
}

Expand Down

0 comments on commit 8daea1d

Please sign in to comment.