BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/websrvr.cpp
De:       Rob Swindell (on Debian Linux)
Data:     Sat, 9 May 2026 14:04:17 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/f7b10a614935817ba8965ec1
Modified Files:
	src/sbbs3/websrvr.cpp
Log Message:
websrvr: don't call destroy_session() with sentinel tls_sess value (-1)

When TLS setup fails after add_private_key() returns an error, the code
calls cryptDestroySession() directly and sets tls_sess = -1, then calls
close_session_no_rb() which would pass -1 to destroy_session(), triggering
a spurious "Destroying a session (-1) that's not in sess_list" error.

Co-Authored-By: Claude Sonnet 4.6 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]