On 11/7/06, <b class="gmail_sendername">Henrik Stoerner</b> <<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
BB sends a HEAD request like this:<br><br>  HEAD /SELoginAccess.jsp HTTP/1.0<br>  User-Agent: BigBrother/1.9c<br>  Host: <a href="http://myhost.mydomain.com:8068">myhost.mydomain.com:8068</a><br><br>Hobbit sends a GET request like this:
<br><br>  GET /SELoginAccess.jsp HTTP/1.1<br>  Connection: close<br>  Host: <a href="http://myhost.mydomain.com">myhost.mydomain.com</a><br>  User-Agent: Hobbit bbtest-net/4.2.0<br>  Accept: */*<br>  Pragma: no-cache<br><br>
which should be much more like a "normal" browser request. I dont think<br>the HTTP 1.0/1.1 difference matters, but you *can* ask Hobbit to use<br>HTTP 1.0 by defining the URL with "http10" as in<br><br>
  <a href="http://1.2.3.4">1.2.3.4</a> myhost # http10://myhost/SELoginAccess.jsp<br><br>The only other difference is that BB includes the port number in the<br>"Host:" header. I haven't noticed that before. I've just checked the
<br>HTTP 1.1 RFC, and it's true that the "Host" header must include the port<br>number if it is not the default (80 for http, 443 for https). You may<br>want to try the attached patch to see if it makes a difference.
<br></blockquote></div><br>I just downloaded and applied the attached patch to the httptest.c file and recompiled the sources.  Without doing a "make install" over the existing Hobbit installation, what is the easiest way to copy just the appropriate file(s) into place?
<br>