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

Reuse http socket #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Rutger798
Copy link
Contributor

This way the HTTP socket can be directly reused when a connection is established

@maximkulkin
Copy link
Owner

Not sure I understand. Do you have particular use case in mind?

@Rutger798
Copy link
Contributor Author

We also run a HTTP server, when connected to the internet.
Because my HTTP server is started after the connect CB the ESP tends to reuse the low level socket witch makes the bind fail. This is fixed by setting this socket flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants