| Age | Commit message (Collapse) | Author | Files | Lines |
|
The change in ac120e797d28 re-used the macro which was made obsolete
in adf25b8d0431.
|
|
This, in addition to 1eb753aa8e5e, fixes "upstream zone" on Windows.
|
|
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.
|
|
|
|
|
|
|
|
Upstreams with the "zone" directive are kept in shared memory,
with a consistent view of all worker processes.
|