search for: http_version

Displaying 13 results from an estimated 13 matches for "http_version".

2010 Jun 02
8
Read error: #<TypeError: can't modify frozen string> raised from HttpParser
Hey guys, Started running unicorn in a production server like two weeks ago. It''s been running smoothly, but looking at the logs found 44 exceptions like this: E, [2010-06-02T16:17:15.117071 #22680] ERROR -- : Read error: #<TypeError: can''t modify frozen string> E, [2010-06-02T16:17:15.117270 #22680] ERROR -- :
2006 Jul 10
4
Test Mongrel 0.3.13.4 Please
Hey Folks, There''s a nasty little bug in 0.3.13.3 when running in development mode which could cause all sorts of problems. Please grab the pre-release of 0.3.13.4 and tell me if it works for you: gem install mongrel --source=http://mongrel.rubyforge.org/releases/ Thanks! -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need
2006 Oct 31
5
mongrel parser for server response
...n my life, I''d like some input on the following for parsing an http server response. This is part of my modified version of http11_parser.rl. In particular what would be better than using ''any'' to match the status text? http_number = (digit+ "." digit+) ; HTTP_Version = ("HTTP/" http_number) >mark %http_version ; Http_status_code = (digit){3} >mark %http_status_code ; Http_status_text = any* >mark %http_status_text ; Request_Line = (HTTP_Version " " Http_status_code " " Http_status_text CRLF) ; field_name = (token...
2007 May 30
0
Headers munged into RAW_POST_DATA
...: accepting=1; * HTTP_HOST : foo.com * HTTP_MAX_FORWARDS : 10 * HTTP_REFERER : https://foo.com/ad_keywords/new?ad=5&cid=7 * HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 * HTTP_VERSION : HTTP/1.0 * HTTP_X_BROWSER_TIMESTAMP: 386789 * HTTP_X_FORWARDED_FOR : xx.xxx.xxx.xxx * HTTP_X_FORWARDED_HOST : foo.com * HTTP_X_FORWARDED_PROTO : https * HTTP_X_FORWARDED_SERVER : foo.com * HTTP_X_NAVID : f5c-50cfb * PATH_INFO : /ad_keywords/...
2007 May 29
1
Headers munged into RAW_POST_DATA
...: accepting=1; * HTTP_HOST : foo.com * HTTP_MAX_FORWARDS : 10 * HTTP_REFERER : https://foo.com/ad_keywords/new? ad=5&cid=7 * HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 * HTTP_VERSION : HTTP/1.0 * HTTP_X_BROWSER_TIMESTAMP: 386789 * HTTP_X_FORWARDED_FOR : xx.xxx.xxx.xxx * HTTP_X_FORWARDED_HOST : foo.com * HTTP_X_FORWARDED_PROTO : https * HTTP_X_FORWARDED_SERVER : foo.com * HTTP_X_NAVID : f5c-50cfb * PATH_INFO : /ad_ke...
2013 Jan 10
0
TCPSocket in controller action
Hi, in order to stream a file I am making use of TCPSocket. Unfortunately I dont receive contents when in use the tcpsocket in a rails controller action while it is working on console. url = "http://www.google.de" version = request.env[''HTTP_VERSION''] verb = request.env[''REQUEST_METHOD''] # url = request.env[''REQUEST_URI''] puts url uri = URI::parse url to_server = TCPSocket.new(uri.host, (uri.port.nil? ? 80 : uri.port)) puts "#{verb} #{url} #{version}\r\n"...
2008 Apr 17
0
Error log, when using apache2.2.x modproxy with mongrel
...o/2008032620 Firefox/3.0b5", "HTTP_ACCEPT_LANGUAGE"=>"zh-tw,en-us;q=0.7,en;q=0.3", "HTTP_HOST"=>"www.testkoji.com", "REQUEST_PATH"=>"/test/show", "HTTP_ACCEPT_CHARSET"=>"Big5,utf-8;q=0.7,*;q=0.7", "HTTP_VERSION"=>"HTTP/1.1", "HTTP_X_FORWARDED_SERVER"=>"www.testkoji.com", "REQUEST_URI"=>"/test/show", "HTTP_X_FORWARDED_FOR"=>"127.0.0.1", "HTTP_ACCEPT"=>"text/html,application/xhtml+xml,application/xml;q=0...
2007 Oct 27
2
render_with_no_layout cause by Pingdom
...dex.rhtml file as per normal. These are the headers I get when pingdom comes to my site: I get these sent to me every few seconds. * GATEWAY_INTERFACE : CGI/1.2 * HTTP_CONNECTION : close * HTTP_HOST : dingbat.esseff.org * HTTP_USER_AGENT : Pingdom.com_bot_version_1.4_(http://www.pingdom.com/) * HTTP_VERSION : HTTP/1.0 * HTTP_X_FORWARDED_FOR: 70.87.224.74 * HTTP_X_REAL_IP : 70.87.224.74 * PATH_INFO : / * QUERY_STRING : pingdom=true * REMOTE_ADDR : 70.87.224.74 * REQUEST_METHOD : GET * REQUEST_PATH : / * REQUEST_URI : /?pingdom=true * SCRIPT_NAME : / * SERVER_NAME : dingbat.esseff.org * SERVER_PORT : 80...
2006 Oct 13
4
Broken installation of mongrel 0.3.13.4 on Sun OS 5.9
Hi, Anyone succeeded in installing Mongrel on Sun Solaris? It looks like the installation is broken. I have started using Mongrel recently and not sure where to look when something is missing. First the file http11.so was not installed in /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib I''ve resolved that and when tried to start mongrel from the command line I received the
2007 Sep 17
2
mongrel_rails hang and does not respond
Hello, I''ve install ror/mongrel etc, etc on a linux server (rhes). As i''m not root, all package startinf from ruby have been install into ~/gconf/usr ruby-1.8.6 and all of this gem package: -r-xr--r-- 1 dimnce dba 168448 Aug 9 14:53 rails-1.2.3.gem -r-xr--r-- 1 dimnce dba 84480 Aug 9 14:56 rake-0.7.3.gem -r-xr--r-- 1 dimnce dba 217088
2008 Jan 14
29
Ebb Web Server
Hello Mongrel Users, I''m writing a web server called Ebb. It''s written in C, makes use of the Mongrel HTTP parser, and uses libev its event loop. The goal is to be small, fast, and language independent server that can host web frameworks. I have written a small Ruby binding which provides a Rack handler - this will allow Ebb to host Rails, Merb, and other Ruby frameworks. In the
2007 Jun 28
1
DRb server crashing
...: 127.0.0.1:40860 * HTTP_MAX_FORWARDS : 10 * HTTP_REFERER : http://75.126.217.82/forums/writeroom/topics/18_WR_1_document_model/comments/new * HTTP_USER_AGENT : Mozilla/5.0 (Macintosh; U; PPC Mac OS X; sv-se) AppleWebKit/419.2.1 (KHTML, like Gecko) Safari/419.3 * HTTP_VERSION : HTTP/1.1 * HTTP_X_FORWARDED_FOR : 213.185.4.64 * HTTP_X_FORWARDED_HOST : 75.126.217.82 * HTTP_X_FORWARDED_SERVER: www.jesse-grosjean-temp.com * PATH_INFO : /forums/writeroom/topics/18_WR_1_document_model/comments * RAW_POST_DATA : [FILTERED] * REMOTE...
2006 Oct 11
7
Mongrel HTTP Header Problem
Hi, I''ve recently been trying to setup Mongrel behind Pound so that I can do mutual SSL authentication. I''ve had a few problems with Pound (documented at [1]), but now have it working correctly. However, I think there is a problem with Mongrel and how it deals with the headers Pound adds to the HTTP header block. One of the extra headers Pound adds is