extensions ensure per conn allocation starts zeroed
Signed-off-by: Andy Green <andy@warmcat.com>
This commit is contained in:
parent
6ab0bba068
commit
f6652412f3
1 changed files with 3 additions and 0 deletions
|
@ -1248,6 +1248,9 @@ select_protocol:
|
|||
wsi->active_extensions_user[
|
||||
wsi->count_active_extensions] =
|
||||
malloc(ext->per_session_data_size);
|
||||
memset(wsi->active_extensions_user[
|
||||
wsi->count_active_extensions], 0,
|
||||
ext->per_session_data_size);
|
||||
wsi->active_extensions[
|
||||
wsi->count_active_extensions] = ext;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue