-
Notifications
You must be signed in to change notification settings - Fork 142
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
Add listen queue callback function #291
base: master
Are you sure you want to change the base?
Conversation
Hi @gresolio. Thank you for this contribution. It makes sense to me. Since it is small, I will see if someone else could review it this week. Would you be so kind as to create an Eclipse account referencing the same email used to sign your commits, please? Once this is done, you will be able to sign the Eclipse Contributor Agreement (ECA) electronically. We cannot merge your contribution without a signed ECA on file. You can use this link to create the account and sign the ECA: |
Hi @fdesbiens, Thanks for the quick response. At the moment, my commit email address is the noreply email address configured in GitHub settings, with the following format: Is it possible to use such a noreply email address to sign the agreement? If no, do I need to create a dedicated public email and update the pull request? p.s. I ask, because I have never signed Eclipse Contributor Agreement (ECA), and don't know the details. |
@gresolio This is the first time I have heard of a case like yours. Please email [email protected] and ask them how to ensure your pull requests pass the automated ECA check we enforce on our repositories. They should have a solution for you. |
c636982
to
6ed72a9
Compare
@fdesbiens |
Thank you, @gresolio. @yuxinzhou5 Can you review this contribution, please? |
@yuxinzhou5 One of the tests has failed. Is there anything I can help with? |
I looked at the logs and it seems we are hitting a timeout on a TLS test.
Given the nature of the changes in this pull request, I think we could merge anyway and figure out what is happening with the test on our own. What do you think, @yuxinzhou5? |
Hi NetX support team,
In order to handle TCP connections on the same port, the host application must know when a connect request is added to the listen queue. Currently, the
nx_tcp_listen_queue_current
must be manually polled, since NetX doesn't provide any callbacks to inform about queued connections.This pull request implements a callback function, which allows to notify the host application of a new connect request in the listen queue.
NX_DISABLE_EXTENDED_NOTIFY_SUPPORT
symbol has been used to control the callback, similar tonx_tcp_socket_syn_received_notify
and other optional callbacks (disabled by default, theNX_ENABLE_EXTENDED_NOTIFY_SUPPORT
must be defined in the config to enable it).Please review. Hopefully the feature is useful enough to be merged into the main codebase.