Skip to content

Commit f288f86

Browse files
committed
Merge branch '3.3' into 3.4
2 parents 0ad0cc0 + c80f221 commit f288f86

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

plugins/auth/my_auth.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,12 @@ static int send_client_reply_packet(MCPVIO_EXT *mpvio,
420420
the server does not know we want to do SSL
421421
*/
422422
if (proxy_header_len)
423+
{
423424
ma_net_write_buff(net, proxy_header, proxy_header_len);
425+
/* Reset proxy header */
426+
proxy_header_len= 0;
427+
proxy_header= NULL;
428+
}
424429

425430
if (ma_net_write(net, (unsigned char *)buff, (size_t) (end-buff)) || ma_net_flush(net))
426431
{

0 commit comments

Comments
 (0)