Coder Social home page Coder Social logo

Comments (5)

orthecreedence avatar orthecreedence commented on August 28, 2024

What's the error you're getting? Hard for me to know if I have the versions you're using so it might be a pain to reproduce if I can't pinpoint it. Thanks!

from carrier.

nightshade427 avatar nightshade427 commented on August 28, 2024

Im getting proc parse errors from fast-http.

Looks like he recently siwtched to proc-parse but its giving errors for some requests im making proc-parse:match-failed

If I switch to tag 92f4627 in fast-http (pre-proc-parse) I dont get any errors.

Will try and track down why fast-http and proc-parse is throwing match-failed on the response of some of my requests. Will let you know what I find out.

from carrier.

nightshade427 avatar nightshade427 commented on August 28, 2024

Okay tracked this down. The new proc-parse stuff in fast-http expects the data to be good all in one shot. Here is the data carrier is sending fast-http when interacting with fast-http:

carrier data: "H"                                                                                                       
carrier data: "TTP/1.1 200 OK"

That is what carrier is sending to fast-http, notice the first call to fast-http is only "H" then another call with "TTP/1.1 200 OK". The pre-proc-parser used to take this in as a stream and process each character and a time build up. The new fast-http with proc-paraser sets expectations on each call to it to be valid and no longer lets it build up like that, so it throws error when it only gets "H". proc-parse match-failed

If that makes sense.

from carrier.

fukamachi avatar fukamachi commented on August 28, 2024

I've rewritten fast-http with proc-parse and it found out to be a bug of proc-parse.
I've fixed it in the latest proc-parse.
Could you please retry with it?

https://github.com/fukamachi/proc-parse

from carrier.

nightshade427 avatar nightshade427 commented on August 28, 2024

Looks great! Thanks!

from carrier.

Related Issues (19)

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.