mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix case clauses when using compression (#1431)(thanks to Evgeniy Khramtsov)
This commit is contained in:
parent
ed679279fd
commit
c6b5dd6c4f
@ -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…
Reference in New Issue
Block a user