Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352188 - jetty-websocket / TestClient
Summary: jetty-websocket / TestClient
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: other (show other bugs)
Version: 8.0.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 7.5.x   Edit
Assignee: Michael Gorovoy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-15 05:14 EDT by janbo999 CLA
Modified: 2011-08-29 14:15 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description janbo999 CLA 2011-07-15 05:14:01 EDT
there is a wrong code in jetty-websocket, TestClient, main():

   ............
   else if (("-h".equals(a)) || ("--host".equals(a)))
      port = Integer.parseInt(args[(++i)]);
   ............

i.e. --host can't be used.

must be:
   ..............
   else if (("-h".equals(a)) || ("--host".equals(a)))
      host = args[(++i)];
   ..............
Comment 1 Michael Gorovoy CLA 2011-08-29 14:15:34 EDT
Good catch! Fix committed to master for 7.5.0 release, and will be merged into 8.0.0 before the next release.