Cant format request to squid?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Squid > Cant format request to squid?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Cant format request to squid?  
scubaal


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-16-06 01:46 AM

We have a fully functioning squid server (2.5.STABLE1).
I need to script a monitoring tool to pass through it. To do this, I am
trying to pass a valid request to the squid proxy. I telnet to port
8080 and enter the following text:

GET http://www.microsoft.com/ HTTP/1.0
Host: www.microsoft.com
Accept: */*
User-Agent: WhatsUp Professional/1.0
Proxy-Connection: Keep-Alive

I press return twice at the end (for the two linefeeds) and Squid
*always* chokes and returns a HTTP/1.0 400 Bad Request - Some aspect of
the HTTP Request is invalid etc.

I have spent hours on this trying to get the syntax correct. I have
even sniffed packets from my browser to the proxy (which works) and
they look *exactly* the same! Can anyone put me out of my misery? Why
does SQUID barf on the text above?

Al Blake (Australia)






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:46 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register