Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update request #4260

Closed
wants to merge 1 commit into from
Closed

Update request #4260

wants to merge 1 commit into from

Conversation

omsmith
Copy link
Contributor

@omsmith omsmith commented Sep 3, 2015

Test failure due to nolanlawson/throw-max-listeners-error#1

Such exciting things as working keep-alive in node > 0.10 request/request#1715

@daleharvey
Copy link
Member

@nolanlawson is this something you can fix in throw-listeners? looks like if you handle 0 this should be good

@@ -1009,7 +1009,7 @@ function HttpPouch(opts, callback) {
headers: clone(host.headers),
method: 'POST',
url: genDBUrl(host, '_revs_diff'),
body: JSON.stringify(req)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this done by request now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems that way. In most cases strings weren't being passed, so these ones were out of the norm (as far as I could tell).

CouchDB was returning errors ("body must be valid JSON"), because request was seeming stringifying again (so an escaped string was being sent).

@nolanlawson
Copy link
Member

Yeah I can publish an update to that lib when there's a fix.

@omsmith
Copy link
Contributor Author

omsmith commented Sep 3, 2015

@omsmith
Copy link
Contributor Author

omsmith commented Sep 3, 2015

Should I give an explicit bump to max-listeners?

@daleharvey
Copy link
Member

Looks like one last issue with the map reduce tests

@omsmith
Copy link
Contributor Author

omsmith commented Sep 4, 2015

Hmm alright. Different tests than I ran locally?

About to have people over, but I'll take a look afterward.

@daleharvey
Copy link
Member

The map reduce tests are seperate, TYPE=mapreduce npm test

* give an explicit bump to throw-max-listeners-error to support the
  change as well
daleharvey pushed a commit that referenced this pull request Sep 4, 2015
* give an explicit bump to throw-max-listeners-error to support the
  change as well
@daleharvey
Copy link
Member

This is awesome, thanks :) - fc48a9b

@daleharvey daleharvey closed this Sep 4, 2015
@omsmith
Copy link
Contributor Author

omsmith commented Sep 4, 2015

@daleharvey Great - thanks very much.

Don't mean to be pushy or anything, wondering if there's an ETA for next release (v5.0.0 at this point?)?

@daleharvey
Copy link
Member

@omsmith We generally do monthly releases, so 1st of october

@omsmith
Copy link
Contributor Author

omsmith commented Sep 4, 2015

Cool, thanks for the info

@omsmith omsmith deleted the update-request-to-latest branch September 13, 2015 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants