You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/03/26 10:11:16 UTC

[Bug 57761] WebSocket client won't connect to URLs that don't end in a slash (/)

https://bz.apache.org/bugzilla/show_bug.cgi?id=57761

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
Without the slash, it would do a redirect and that's likely the cause of the
problem. The ws client is not a real HTTP client, and I guess it cannot do many
things, including auth, or apparently redirects. I am not convinced using a
real HTTP client is mandatory, working only with a server that will do a
straight upgrade could be good enough given what the ws API looks like (a non
interactive direct connection).

I recommend considering the slash is mandatory.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org