nopoll icon indicating copy to clipboard operation
nopoll copied to clipboard

Add changes to support URL redirection.

Open mrigaya opened this issue 7 years ago • 4 comments
trafficstars

Server URL redirection is not handled in nopoll.

As per RFC https://tools.ietf.org/html/rfc6455#section-4.2.2, library/server should handle non 101 status code received during handshake. Currently nopoll is not handling this feature, whenever it receives non 101 status code will close the connection and not supporting any other functionality like URL redirection in case of 3xx status code is received.

These changes may handle this scenario, if server sends redirection URL to the user/client using a 3xx status code, the user/client may establish connection with the redirected URL.

Review these changes and Please let me know if it requires any modification/suggestion from your end.

mrigaya avatar Mar 09 '18 10:03 mrigaya

@francisbrosnan Any suggestion on this pull request?

mrigaya avatar Mar 20 '18 12:03 mrigaya

Hello @mrigaya I think the patch looks good. It will require additional work to create a regression test to ensure quality and feature tracking across releases. I've send you a private message because this patch is big enough to be considered as a contribution instead of a fix or similar, so it needs a CLA. I've sent you all details by mails to continue with the process. Thanks for your time and effort. Best Regards.

francisbrosnan avatar Apr 03 '18 16:04 francisbrosnan

@francisbrosnan What do you think about this PR, can we move forward with it?

schmidtw avatar Oct 18 '18 01:10 schmidtw

@mrigaya & @francisbrosnan Has any progress been made on the CLA agreement? We'd like to use this code, but it's stuck as a PR.

schmidtw avatar Jan 23 '19 19:01 schmidtw