[pve-devel] [PATCH http-server 2/2] Fix #1684 WebSocket proxy behind a buffered proxy.
Dietmar Maurer
dietmar at proxmox.com
Fri May 25 17:14:53 CEST 2018
Great that you found that bug so fast!
The patch contains some white space changes - Please can you send
those changes in a separate patch?
> - my $payload_len = unpack 'C', substr($hdl->{rbuf}, 1, 1);
> + my $payload_len = unpack 'C', substr($hdl->{rbuf}, 1, 1);
>
> - my $masked = $payload_len & 0b10000000;
> - die "received unmasked websocket frame from client\n" if !$masked;
> + my $masked = $payload_len & 0b10000000;
> + die "received unmasked websocket frame from client\n" if !$masked;
...
More information about the pve-devel
mailing list