Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client mode not reusing connection, reference drop #34

Closed
emiago opened this issue Aug 8, 2023 · 1 comment
Closed

client mode not reusing connection, reference drop #34

emiago opened this issue Aug 8, 2023 · 1 comment

Comments

@emiago
Copy link
Owner

emiago commented Aug 8, 2023

image

14:02:12.449963 INF Got 1xx code code=100
14:02:12.464058 INF Got 1xx code code=180
14:02:12.467912 INF Received 200
14:02:12.468111 WRN UDP ref went negative dst=172.18.0.3:5060 ref=-1 src=172.18.0.1:48145
14:02:12.468178 INF Pls cancel for hangup
emiago added a commit that referenced this issue Aug 27, 2023
	This basically increases refcount for connection
	Higher means connection are kept open until some party closes
@emiago
Copy link
Owner Author

emiago commented Sep 1, 2023

By default now client will keep connection open until closed and not per transaction.
This can happen if read stopped (closed connection, eof) or we are doing hard close.
Hard closing is done by closing client handle client.Close()

@emiago emiago closed this as completed Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant