Code Monkey home page Code Monkey logo

Comments (7)

statianzo avatar statianzo commented on June 4, 2024

I am currently working on refactoring the request parsing so multiple drafts can be supported. One piece of that is ensuring a complete request before attempting to respond to the handshake. Expect this fixed soon.

from fleck.

ernstnaezer avatar ernstnaezer commented on June 4, 2024

Nice! Are you planning to support
draft-ietf-hybi-thewebsocketprotocol-06? That one uses SHA1 hashing
over MD5 and it would really help me out because of FIPS compliancy :)

On Wed, Aug 31, 2011 at 08:22, statianzo
[email protected]
wrote:

I am currently working on refactoring the request parsing so multiple drafts can be supported. One piece of that is ensuring a complete request before attempting to respond to the handshake. Expect this fixed soon.

Reply to this email directly or view it on GitHub:
#7 (comment)

from fleck.

statianzo avatar statianzo commented on June 4, 2024

I've been looking at draft-ietf-hybi-thewebsocketprotocol-10, as that's what has been implemented in Chromium 14. It also uses SHA-1. I'm not sure about its compatibility with hybi-06. However, adding that in should be easier soon.

On Friday, September 2, 2011 at 1:24 AM, enix wrote:

Nice! Are you planning to support
draft-ietf-hybi-thewebsocketprotocol-06? That one uses SHA1 hashing
over MD5 and it would really help me out because of FIPS compliancy :)

On Wed, Aug 31, 2011 at 08:22, statianzo
<[email protected] (mailto:[email protected])>
wrote:

I am currently working on refactoring the request parsing so multiple drafts can be supported. One piece of that is ensuring a complete request before attempting to respond to the handshake. Expect this fixed soon.

Reply to this email directly or view it on GitHub:
#7 (comment)

Reply to this email directly or view it on GitHub:
#7 (comment)

from fleck.

ernstnaezer avatar ernstnaezer commented on June 4, 2024

10 is fine too :) As long as it's SHA1 that's being used for the
handshake I'm happy. Thanks!

On Fri, Sep 2, 2011 at 14:49, statianzo
[email protected]
wrote:

I've been looking at draft-ietf-hybi-thewebsocketprotocol-10, as that's what has been implemented in Chromium 14. It also uses SHA-1. I'm not sure about its compatibility with hybi-06. However, adding that in should be easier soon.

On Friday, September 2, 2011 at 1:24 AM, enix wrote:

Nice! Are you planning to support
draft-ietf-hybi-thewebsocketprotocol-06? That one uses SHA1 hashing
over MD5 and it would really help me out because of FIPS compliancy :)

On Wed, Aug 31, 2011 at 08:22, statianzo
<[email protected] (mailto:[email protected])>
wrote:

I am currently working on refactoring the request parsing so multiple drafts can be supported. One piece of that is ensuring a complete request before attempting to respond to the handshake. Expect this fixed soon.

Reply to this email directly or view it on GitHub:
#7 (comment)

Reply to this email directly or view it on GitHub:
#7 (comment)

Reply to this email directly or view it on GitHub:
#7 (comment)

from fleck.

statianzo avatar statianzo commented on June 4, 2024

I'm still in progress of adding hybi, but the refactor of the "RequestBuilders" is complete (unless hybi-10 requires additional changes). I included some logic to check for complete requests.

Could you take a look at the hybi branch and see if you can repro this bug with it? I've been unable to reproduce it at all, even before i did the complete request check.

from fleck.

ernstnaezer avatar ernstnaezer commented on June 4, 2024

Hi,

sorry for such a late reply! I've tested your code awhile back and
forgot to send you an update.

I do get the 'No bytes recieved. Connection closed.' message from time
to time but no more crashes so that's a good thing.

cheers,
Ernst

On Sat, Sep 3, 2011 at 22:34, statianzo
[email protected]
wrote:

I'm still in progress of adding hybi, but the refactor of the "RequestBuilders" is complete (unless hybi-10 requires additional changes). I included some logic to check for complete requests.

Could you take a look at the hybi branch and see if you can repro this bug with it? I've been unable to reproduce it at all, even before i did the complete request check.

Reply to this email directly or view it on GitHub:
#7 (comment)

from fleck.

statianzo avatar statianzo commented on June 4, 2024

Good to know. I opted for the "No bytes = closed" option because otherwise it could wait indefinitely for a complete request to come through. Thanks for testing it out again.

from fleck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.