Add "mg_get_local_addr". Return the local listening address used.#15
Open
mdw-at-linuxbox wants to merge 1 commit intoceph:wip-civetweb-1.8from
Open
Add "mg_get_local_addr". Return the local listening address used.#15mdw-at-linuxbox wants to merge 1 commit intoceph:wip-civetweb-1.8from
mdw-at-linuxbox wants to merge 1 commit intoceph:wip-civetweb-1.8from
Conversation
This was referenced Nov 4, 2016
civetweb can listen to multiple addresses. Some of these can have ssl enabled, and some not. The "using_ssl" flag is already returned to the client, but the local address (lsa) is not, This allows a calling application to determine on which local address/portno a connection was accepted. Signed-off-by: Marcus Watts <mwatts@redhat.com>
ad8d91f to
4760a9a
Compare
|
Will this go into civetweb upstream? |
Author
|
I structured most of the work I did to civetweb with an eye towards making it palatable upstream. But I haven't talked to upstream so don't know how hard it actually would be to get any of our civetweb changes upstream. |
|
@mdw-at-linuxbox Would you plz merge this first and update civetweb submodule? or remove invokation of Thx. |
|
@mdw-at-linuxbox it looks like we're still maintaining this in our fork - has this been proposed upstream? |
|
@mdw-at-linuxbox https://github.com/mdw-at-linuxbox/civetweb-1/tree/wip-listen2 Contains "mg_get_local_addr" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
civetweb can listen to multiple addresses. Some of these can have
ssl enabled, and some not. The "using_ssl" flag is
already returned to the client, but the local address (lsa) is not,
This allows a calling application to determine on which local
address/portno a connection was accepted.
Signed-off-by: Marcus Watts mwatts@redhat.com