Redirection has four cases:
the existing code can handle case 2, the fix is for case 1. case 3 and case 4 need to handle proxy response event to add proxy entry by user logic.
fixed redirection on proxy when changOrigin is true
handle default port calculation on redirection response
I was just affected by this. Would definitely help my current project to have this merged.
We're almost done with a major rewrite that has been under way for several months. Check it out on the caronte branch. We haven't decided what to do with pull-request maintenance before that.
We will likely publish 0.10.99 with most open pull-requests before publishings 1.0.0. cc/ @yawnt
Ok, cool. I'll just fork and pull these commits into my branch to use for now. Thanks for the hard work!