You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the tls-rustls-reload loads the certificates just once at the startup, it never re-attempts to go thru the loop inside the async stream again.
To Reproduce
This little code change makes it more clear, set the reloading duration to 1sec and put some debug messages around. The messages are seen only once as the sleep await is never woke up.
Apparently the tls is reloaded when the server is in use, e.g. by issuing curl on the / endpoint. So maybe it's expected behavior but might be noted in the doc.
Describe the bug
the tls-rustls-reload loads the certificates just once at the startup, it never re-attempts to go thru the loop inside the async stream again.
To Reproduce
This little code change makes it more clear, set the reloading duration to 1sec and put some debug messages around. The messages are seen only once as the sleep await is never woke up.
Expected behavior
I assume we want to see messages to appear every 1s tick.
Screenshots
Desktop (please complete the following information):
OS: Ubuntu 23.10
rustc version:
The text was updated successfully, but these errors were encountered: