mirror of
https://github.com/graygnuorg/pound.git
synced 2026-10-23 22:28:53 +03:00
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.