openconnect_close_https(vpninfo, 0);
- /* Requeue the original packet that was deflated */
- if (vpninfo->current_ssl_pkt == vpninfo->deflate_pkt) {
- vpninfo->current_ssl_pkt = NULL;
- queue_packet(&vpninfo->outgoing_queue, vpninfo->pending_deflated_pkt);
- vpninfo->pending_deflated_pkt = NULL;
- }
if (vpninfo->deflate) {
+ /* Requeue the original packet that was deflated */
+ if (vpninfo->current_ssl_pkt == vpninfo->deflate_pkt) {
+ vpninfo->current_ssl_pkt = NULL;
+ queue_packet(&vpninfo->outgoing_queue, vpninfo->pending_deflated_pkt);
+ vpninfo->pending_deflated_pkt = NULL;
+ }
inflateEnd(&vpninfo->inflate_strm);
deflateEnd(&vpninfo->deflate_strm);
}
<ul>
<li><b>OpenConnect HEAD</b>
<ul>
+ <li>Fix reconnect crash when compression is disabled.</li>
<li>Fix build on systems like FreeBSD 8 without <tt>O_CLOEXEC</tt>.</li>
<li>Add <tt>--dtls-local-port</tt> option.</li>
<li>Print correct error when <tt>/dev/net/tun</tt> cannot be opened.</li>