|
From: John S. <jo...@we...> - 2007-01-13 17:34:35
|
You rock! I thought that was a little messed up ;) John Buren Southerland Principal Consultant <http://www.webperformancegroup.com/> Web Performance Group 801.467.8090(office) 214.734.8099(cell) <mailto:jo...@we...> jo...@we... _____ From: Opsi dao [mailto:op...@op...] Sent: Saturday, January 13, 2007 12:12 PM To: John Southerland Subject: Re: [Task #134981] NetBeans Build Structure Hi back, I just commited the netbeans project up to sf. In this commit I've included the thread separation we told about, and I've also changed the way the initial request was processed because it wasn't able to understand something like GET http://somewhere.com/somedir/file.html HTTP/1.1 , here is the diff for that concrete part: < StringTokenizer st = new StringTokenizer(startLine, " /"); < request.setMethod( st.nextToken() ); < request.setUri( st.nextToken() ); < request.setProtocol( st.nextToken() ); < request.setVersion( st.nextToken() ); > StringTokenizer st = new StringTokenizer(startLine, " "); > request.setMethod( st.nextToken() ); > request.setUri( st.nextToken() ); > > st=new StringTokenizer(st.nextToken(),"/"); > request.setProtocol( st.nextToken() ); > request.setVersion ( st.nextToken() ); Regards |