25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Fix PONG responses (#3515)

Co-authored-by: Frank Diebolt <frank.diebolt@al-enterprise.com>
This commit is contained in:
Frank 2021-02-04 19:57:20 +01:00 committed by GitHub
parent a51e777c56
commit 2d79a69719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -358,7 +358,7 @@ process_frame(#frame_info{unprocessed = none,
| Recv],
Send};
9 -> % Ping
Frame = encode_frame(Unprocessed, 10),
Frame = encode_frame(Unmasked, 10),
{FrameInfo3#frame_info{unmasked_msg = UnmaskedMsg}, [ping | Recv],
[Frame | Send]};
10 -> % Pong