Skip to content
This repository was archived by the owner on Jul 31, 2018. It is now read-only.
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
indutny committed Jun 6, 2016
commit 8080c8fba0b6ddd45790d54b4be26ba727269dd7
5 changes: 3 additions & 2 deletions xxx-uv_link_t.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ classes that inherit from `StreamBase`.
## 2. Current state of C++ Streams in Node

The fast HTTP and TLS protocol implementation in Node core depends on so called
`StreamBase` C++ class. This class is an analog of JavaScript streams in C++.
`StreamBase` C++ class and auxiliary `StreamReq` and `StreamResources` classes.
This class is an analog of JavaScript streams in C++.
The main ideas behind `StreamBase` are to:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this mean you'll be removing associated classes like StreamReq and StreamResource?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be noted in the text

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack.


1. Avoid unnecessary memory allocations by reading data directly into buffer
Expand All @@ -34,7 +35,7 @@ From [`uv_link_t`][0] readme:

`uv_link_t` aims to solve complexity problem that quickly escalates once
using multiple layers of protocols in [libuv][1] by providing a way to
implement protocols separately and chain them together in easy and
implement protocols separately and chain them together in an easy and
high-performant way using very narrow interfaces.

Given that [`uv_link_t`][0] depends only on [libuv][1], it is very easy to
Expand Down