Removing mem_pool from port_hash interface.
Memory pool is not used by port_hash and it was a mistake to pass it into 'add' and 'remove' functions. port_hash enrties are allocated from heap.
This commit is contained in:
@@ -58,7 +58,6 @@ typedef struct {
|
||||
nxt_array_t *outgoing; /* of nxt_port_mmap_t */
|
||||
|
||||
nxt_thread_mutex_t cp_mutex;
|
||||
nxt_mp_t *cp_mem_pool;
|
||||
nxt_lvlhsh_t connected_ports; /* of nxt_port_t */
|
||||
} nxt_process_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user