mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Fix case clauses when using compression (#1431)(thanks to Evgeniy Khramtsov)
This commit is contained in:
parent
ed679279fd
commit
c6b5dd6c4f
1 changed files with 2 additions and 2 deletions
|
@ -227,8 +227,8 @@ get_transport(#socket_state{sockmod = SockMod,
|
|||
fast_tls -> tls;
|
||||
ezlib ->
|
||||
case ezlib:get_sockmod(Socket) of
|
||||
tcp -> tcp_zlib;
|
||||
tls -> tls_zlib
|
||||
gen_tcp -> tcp_zlib;
|
||||
fast_tls -> tls_zlib
|
||||
end;
|
||||
ejabberd_bosh -> http_bind;
|
||||
ejabberd_http_bind -> http_bind;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue