Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Add documentation about request.pause issue. #4305

Closed
wants to merge 1 commit into from

Conversation

Rob-ot
Copy link

@Rob-ot Rob-ot commented Nov 23, 2012

A lot of people (including myself before today) are under the impression request.stream.pause will prevent any more data events from being fired, hopefully they will see this before spending hours tracking down the bug.

A lot of people (including myself before today) are under the impression request.stream.pause will prevent any more data events from being fired, hopefully they will see this before spending hours tracking down the bug.
@@ -300,6 +300,7 @@ information.

Pauses request from emitting events. Useful to throttle back an upload.

Note: Data events may still be fired after the request is paused, see [this discussion](groups.google.com/group/nodejs/browse_thread/thread/cafe8397e3bec189) for more information.
Copy link
Member

Choose a reason for hiding this comment

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

Long line, wrap at 80 columns.

@bnoordhuis
Copy link
Member

Can you fix the style issue and make the commit log conform to the common template? Check git log, you'll see what I mean.

Also, can you sign the CLA?

@koichik
Copy link

koichik commented Nov 23, 2012

@Rob-ot - Which version of Node are you using? Since v0.8, I think 'data' event won't be emitted after request.pause() is called (see #1040).

@Rob-ot
Copy link
Author

Rob-ot commented Nov 23, 2012

@koichik crap crap crap, looks like I am still on 0.6 on this computer.

@Rob-ot Rob-ot closed this Nov 23, 2012
@isaacs
Copy link

isaacs commented Nov 23, 2012

I'd be fine with taking this doc patch on v0.6 branch, but there might never be another 0.6 release, so it may be pointless.

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

Successfully merging this pull request may close these issues.

4 participants