mirror of
https://github.com/nginx/nginx.git
synced 2024-12-15 13:28:59 +08:00
d846f27638
The shared objects should generally be allocated from shared memory. While peers->name and the data it points to allocated from cf->pool happened to work on UNIX, it broke on Windows. On UNIX this worked only because the shared memory zone for upstreams is re-created for every new configuration. But on Windows, a worker process does not inherit the address space of the master process, so the peers->name pointed to data allocated from cf->pool by the master process, and was invalid. |
||
---|---|---|
.. | ||
ngx_stream_access_module.c | ||
ngx_stream_core_module.c | ||
ngx_stream_geo_module.c | ||
ngx_stream_geoip_module.c | ||
ngx_stream_handler.c | ||
ngx_stream_limit_conn_module.c | ||
ngx_stream_log_module.c | ||
ngx_stream_map_module.c | ||
ngx_stream_proxy_module.c | ||
ngx_stream_realip_module.c | ||
ngx_stream_return_module.c | ||
ngx_stream_script.c | ||
ngx_stream_script.h | ||
ngx_stream_split_clients_module.c | ||
ngx_stream_ssl_module.c | ||
ngx_stream_ssl_module.h | ||
ngx_stream_ssl_preread_module.c | ||
ngx_stream_upstream_hash_module.c | ||
ngx_stream_upstream_least_conn_module.c | ||
ngx_stream_upstream_round_robin.c | ||
ngx_stream_upstream_round_robin.h | ||
ngx_stream_upstream_zone_module.c | ||
ngx_stream_upstream.c | ||
ngx_stream_upstream.h | ||
ngx_stream_variables.c | ||
ngx_stream_variables.h | ||
ngx_stream_write_filter_module.c | ||
ngx_stream.c | ||
ngx_stream.h |