Import Upstream version 1.0.16

This commit is contained in:
Guus Sliepen 2019-08-26 13:44:41 +02:00
parent d09cb3d82a
commit bb1aebd963
11 changed files with 70 additions and 50 deletions

View file

@ -129,7 +129,7 @@ bool send_tcppacket(connection_t *c, const vpn_packet_t *packet) {
if(!send_request(c, "%d %hd", PACKET, packet->len))
return false;
return send_meta(c, (char *)packet->data, packet->len);
return send_meta(c, (char *)packet->data, packet->len) && flush_meta(c);
}
bool tcppacket_h(connection_t *c) {