whyrusleeping / multireq

the worst piece of code @whyrusleeping has ever written that made it to production
MIT License
5 stars 1 forks source link

partially buffer responses to be sure of which one to return #7

Closed whyrusleeping closed 8 years ago

whyrusleeping commented 8 years ago

buffer up to 16MB from each response, return the best one

ghost commented 8 years ago

LGTM :+1:

whyrusleeping commented 8 years ago

before merging this lets test deploying it on earth

ghost commented 8 years ago

Is there an upper limit on the number of buffers?

whyrusleeping commented 8 years ago

no, there is not. but the bufferpool manages freeing them as needed