Scott Gress

Results 65 comments of Scott Gress

@dougwilson I'll make a PR out of the patched version we've been using in Sails; the massive post above was meant to elicit feedback from the community as to whether...

@dougwilson Actually, not sure how I missed this in the CORS doc before (other than my eyes glazing over every time I look at it), but [this section](https://www.w3.org/TR/cors/#resource-requests) clearly states...

Alrighty, working on it.

Wow, time flies. I actually got the code for this done pretty quick, but ran out of gas re-working all the tests. Plugging away...

Thanks for the bump y'all. Will revisit this week. Again, the delay was in getting all the tests in order.

Update: it doesn't appear that adding the `.on('error')` handler for the response stream prevents the ECONNRESET errors from occurring. However, our workaround involving checking that the callback is only called...

The underlying issue is that sometimes a chunk will upload successfully, but later send an ECONNRESET error anyway. The knox-mpu code handles this by declaring that the chunk was invalid...

@l1br3 I'm afraid not. Policies in Sails 1.0 are implement as [action middleware](http://next.sailsjs.com/documentation/reference/application/advanced-usage/sails-register-action-middleware), and there's currently no mechanism for reloading the set of loaded action middleware. The only thing you...

Agreed. PRs welcome, otherwise I'll take a look when I can.

What adapter are you using?