* * *

Author Topic: bauglir sending duplicate headers?  (Read 340 times)

Trenatos

  • Full Member
  • ***
  • Posts: 242
bauglir sending duplicate headers?
« on: September 07, 2017, 03:50:02 pm »
I'm trying to get bauglir running, I changed inherited according to this thread http://forum.lazarus.freepascal.org/index.php?topic=30649.0

I grabbed the Lazarus demo, and it starts up fine, but when I try to connect using the demo page, I get an error claiming "Error during WebSocket handshake: 'Sec-WebSocket-Protocol' header must not appear more than once in a response" but when I inspect the request, I only see the one header.

Has anyone run into this before?

Trenatos

  • Full Member
  • ***
  • Posts: 242
Re: bauglir sending duplicate headers?
« Reply #1 on: September 07, 2017, 03:52:37 pm »
I just changed the demo to read socket = new WebSocket(scheme + host + ':' + port, ['proto1']); (I remove proto2 from the array) and now I'm getting another error.

"Error in permessage-deflate: client_max_window_bits must have value".

Going to keep trying, but if someone has solved this stuff already I'd love to hear about it

Trenatos

  • Full Member
  • ***
  • Posts: 242
Re: bauglir sending duplicate headers?
« Reply #2 on: September 07, 2017, 03:56:58 pm »
AHA!

It's a Chrome issue. Works fine in FireFox.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus