1
0
mirror of https://github.com/graygnuorg/pound.git synced 2026-10-23 22:28:53 +03:00
Files
pound/doc
Sergey Poznyakoff 8b3a4ca36e Finalize listener structures when opening their sockets in main.
In particular, this makes Address and Port statements (in
ListenHTTP(S)) optional.  Missing Address means all available
IP addresses (both ip and ipv6), and missing Port implies the
default port number for the listener.

* NEWS: Document changes.
* doc/pound.8: Likewise.
* doc/pound.texi: Likewise.
* src/config.c: Assign listener address and port to the temporary
storage fields addr_str and port_str.  Don't handle SocketFrom
statements right away.
Resolve addresses and ports after all listener configuration has been
collected.  Prefer in6addr_any address over INADDR_ANY, as the former
includes the latter.
* src/pound.c (main): Finalize handling of SocketFrom statements here.
* src/pound.h (PORT_HTTP_STR, PORT_HTTPS_STR): New defines.
(LISTENER): New fields: addr_str, port_str, socket_from.
* src/svc.c (get_host): Remove unnecessary code.
2024-10-06 09:47:08 +03:00
..
2024-02-22 17:30:06 +02:00
2024-02-22 17:30:06 +02:00
2024-02-22 17:30:06 +02:00
2024-02-22 17:30:06 +02:00
2024-09-23 10:52:05 +03:00
2024-02-22 17:30:06 +02:00
2024-02-22 17:30:06 +02:00
2024-10-03 12:04:22 +03:00