Re: [racket-users] Why am I not fully releasing this SSL listener?

2020-07-24 Thread Sage Gerard
Switching the reuse? flag does resolve the issue, thanks! I'm also confused about the part you mention since reuse? is passed right along to tcp-listen in mzssl.rkt. Only difference I can point to is my explicitly calling ssl-close and therefore tcp-close before a custodian shutdown. But it

Re: [racket-users] Why am I not fully releasing this SSL listener?

2020-07-24 Thread Ryan Culpepper
If you create the ssl-listener with reuse?=true instead, like this (define listener (ssl-listen port 5 #f #t ctx)) does the problem go away? If so, the error might happen because the OS reserves the port number for a while after the listener is closed; see the paragraph about TIME_WAIT in the

[racket-users] Why am I not fully releasing this SSL listener?

2020-07-24 Thread Sage Gerard
I'm trying to understand how I am failing to shut down an ssl-listener on v7.7.0.5. https://gist.github.com/zyrolasting/bc5477bfa60d7185d0f53a5142545f88 shows my use of ssl-* procedures to transmit data using test.pem. The problem is that I cannot run the test submodule twice in a row because