Skip to content

Add "mg_get_local_addr". Return the local listening address used.#14

Open
mdw-at-linuxbox wants to merge 1 commit intoceph:masterfrom
mdw-at-linuxbox:wip-listen1
Open

Add "mg_get_local_addr". Return the local listening address used.#14
mdw-at-linuxbox wants to merge 1 commit intoceph:masterfrom
mdw-at-linuxbox:wip-listen1

Conversation

@mdw-at-linuxbox
Copy link
Copy Markdown

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

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>
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.

1 participant