Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Node http module - WIP #103

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Node http module - WIP #103

wants to merge 3 commits into from

Conversation

facekapow
Copy link
Contributor

@facekapow facekapow commented May 1, 2016

Provides a implementation of the Node.js http module using eshttp. Currently, it's a work in progress, but it provides at least partial implementation of the server and client. Todo:

  • Client: chunked encoding support (end event is never emitted)
  • Client: keep-alive and timeout
  • Agent
  • Fix issue where client doesn't receive data sometimes (I think it's network related)

Personally, everything I had to do feels like a hack (having to access underscored properties in the handles, having to set internal callbacks in ClientRequest only to wait for DNS lookup, etc.), but it works! 馃槃

@iefserge
Copy link
Member

This is pretty awesome!
I think most hacks can be avoided by adding chunked request/responses support to eshttp. I'm going to look into it sometime.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants