Git Product home page Git Product logo

Comments (2)

celer avatar celer commented on July 19, 2024

So by sideways I mean that when using it with request it causes the following error with express

Error: MultipartParser.end(): stream ended unexpectedly: state = PART_DATA_START
    at MultipartParser.end (/Users/celer/Project/hopjs/examples/test/node_modules/express/node_modules/connect/node_modules/formidable/lib/multipart_parser.js:306:12)
    at IncomingMessage.IncomingForm.parse.fields (/Users/celer/Project/hopjs/examples/test/node_modules/express/node_modules/connect/node_modules/formidable/lib/incoming_form.js:102:30)
    at IncomingMessage.EventEmitter.emit (events.js:85:17)
    at IncomingMessage._emitEnd (http.js:366:10)
    at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)
    at Socket.socket.ondata (http.js:1690:22)
    at TCP.onread (net.js:403:27)

In the example above the call back for FormData never calls the callback with an error or result.

from form-data.

celer avatar celer commented on July 19, 2024

I have resolved this issue by fixing a bug in combined-stream, see here for details:

https://github.com/celer/node-combined-stream

I have submitted a pull request as well.

from form-data.

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.