Comments (5)
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.
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.
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.
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.
Looks great! Thanks!
from carrier.
Related Issues (19)
- When using chunked responses carrier returns only the first chunked response HOT 11
- Doesnt handle query strings HOT 2
- cookie support HOT 6
- ssl causes faults on sbcl HOT 20
- Multiple issues when using latest quicklisp and carrier master
- Multiple issues when using latest quicklisp and carrier master HOT 11
- hangs when cannot connect HOT 13
- Can we add this project to quicklisp? HOT 3
- ssl uri sometime work sometimes dont HOT 1
- Unbound variable and function HOT 1
- Test against httpbin
- HTTP request returning nil HOT 4
- Parses urls incorrectly HOT 2
- Certain SSL sites don't work HOT 4
- Allow for streaming request body
- Issue with `location` in response headers being a relative path
- Any reasons not to use this for AWS SDK? HOT 7
- Reusing SSL Context
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carrier.