similar to: HTTP Parser (Regal)

Displaying 20 results from an estimated 2000 matches similar to: "HTTP Parser (Regal)"

2006 Sep 04
11
balancer://mongrel_cluster
A couple of questions please: What is the benefit of having more than one Mongrel/Rails instance on the same machine, could one instance not serve as many requests as say three instances? Is Mongrel Cluster a Apache add-in (like mod_*) or a separately running load balancer which runs on a separate port, I could not work it out from the sample Apache config... |# Redirect all non-static
2007 Mar 25
2
Mongrel & Mint (PHP related)
Hi, Does anyone have the Mint stats package setup with their Rails application. I have uploaded Mint to the public folder, but when I try and request domain.com/mint/index.php the page is served as a download instead of being processed by mod_php. Im guessing this isn''t really a Mongrel problem but what I actually need to do is prevent Apache proxying certain requests to Mongrel.
2007 Mar 08
10
bad URI(is not URI?): c:\boot.ini
Please note this message is not related to my previous one from yesterday, this is on a different server (textdrive server). I have only one mongrel application running but ''randomly'' it will go down, the mongrel.log file shows: ERROR: undefined method ''request_uri'' for #<URI::Generic:0x5383948 URL:*> ERROR: bad URI(is not URI?): c:\boot.ini [FATAL]
2006 Oct 31
5
mongrel parser for server response
I''m taking a stab at creating a parser to parse the server response using the mongrel parser as a base. Never having used a parser like Ragel before in 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
2006 Sep 21
5
Static files in public
My question is about the static files in the Rails public folder. These files should be served by Apache instead of Mongrel, so do I need to upload these files to Apache''s htdoc''s or will Apache cache them the first time they are requested from Mongrel... Im not sure how this works? Many thanks.
2006 Jan 31
2
Liquid templates and forms
I have started to experiment with Liquid templates and all goes fine as long as I just display my stuff. But I want to get user input (using forms), and I couldn''t figure out so far whether and how liquid facilitates the use of forms, something like the form helper tags in .rhtml. Anybody knows about that ? -- Roberto Saccon - http://rsaccon.com -------------- next part --------------
2008 Apr 24
4
Pure Ruby HTTP parser
Before anything else, let me state this: Of course it''s going to be PAINFULLY slow on MRI. That''s not the point :) I thought I''d try out writing out a Ruby version of the parser for the purposes of Rubinius. For those of you who aren''t aware, Ragel supports a goto-driven FSM on Rubinius by injecting assembly directly, and Rubinus head honcho guy Evan Phoenix
2006 Sep 06
7
Error on Windows and FreeBSD
First off Windows, because actually what I appear to be getting is a Rails error which only occurs when I use Mongrel, using Webrick I do not get this error. I start Mongrel using: mongrel_rails start I have mongrel, win32-services and mongrel-service gems installed even through Im not using mongrel as a service at the moment. The whole application works apart from one action. The error I get
2006 Aug 26
2
Mongrel grammar file
Hey Zed, any chance you mind sharing the grammar file you use with lemon to create the parser? I''ve been meaning to sit down and learn how to use one of those things. If not, any suggestions on a good resource for learning how to use a LALR parser?
2006 May 19
14
Running Rails from embedded Ruby
Is it possible to run a Rails application from embedded ruby? I''m thinking of replacing dispaches with a C application which will then call the normal Rails dispaches and so on... Is this do-able? Many thanks, Kris. -- Posted via http://www.ruby-forum.com/.
2005 Dec 16
6
rake remote_exec on Windows
I am using the shovel deploy.rb from http://nubyonrails.com/pages/shovel I have SwitchTower-ized my app, copied the shovel deploy.rb file and put my settings in it. But when I run "rake remote_exec ACTION=setup_lighty" from the local app root it has no effect. It should prompt for a password for at least throw an error? I just get returned to the DOS prompt. If I do "rake
2005 Sep 22
5
Adding Categories to the Depot example in the Agile Rails book
Hi ya, I want to add categories to the depot example in the Agile rails book. These are my thoughts: Create a new table called categories with id, title, description, and image fields. Add a new field to the products table called category_id Create a model called Category with "has_many :products" Now I should have a one to many link between the products and categories tables? Now
2008 Jun 03
9
clients hang on large PUTs to Mongrel::HttpHandler-based web service
Hi folks, I have a problem with a storage web service our group wrote using Mongrel::HttpHandler We have a consistent problem when using http PUT to this service when the data is larger than about 4 GB. The web service actually retrieves and processes the data, but the clients hang - the TCP connection is still in the ESTABLISHED state on the client side, but the TCP session no longer exists on
1997 Dec 05
2
lex, yacc
Hi there!! Can someone tell me where I can find 'supported' lex and yacc utilities that work on NT? Pardon me if this question is not relevant in this list.. Please send me the replies directly to my e-mail 'k.sundram@blr.sni.de' ; since I find that this list is getting bigger and better.. Thanx in advance K R Sundaram -- ************************************************ *****
2007 May 23
2
about lex/yacc
hello, what about these functions lex/yacc which can parse and recognize a syntax? thanks _____________________________________________________________________________ [[alternative HTML version deleted]]
2006 Oct 15
14
Mongrel can''t handle some URLs that IE6 sends
IE6 happily sends unsafe* characters unencoded if you''ve typed them into the URL bar of your IE6 window. This could happen if you copy & paste a URL from an email or web page. Mongrel doesn''t seem to handle these properly. In 0.3.13.3 it would print out something like: Sun Oct 15 23:05:38 CST 2006: BAD CLIENT (192.168.1.2): Invalid HTTP format, parsing fails. 0.3.13.5
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
Hello all, I am trying to build the latest version of llvm-gcc on a x86_64 architecture running a Linux distribution. Using the READM.LLVM I have managed to run ./configure using appropriate options, but when I try to build using make, it shows the following error message after a few seconds: ../../llvm-gcc/gcc/gengtype-lex.l:31:27: fatal error: gengtype-yacc.h: No such file or directory. This
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
I need to add, also you'll need bison+flex. Rajika On Thu, Aug 12, 2010 at 6:41 PM, Rajika Kumarasiri <rajika at wso2.com> wrote: > You'll need to install the dev packages for gcc 4.2. > > Rajika > > On Thu, Aug 12, 2010 at 1:27 PM, Romain Pechayre <rpechayr at gmail.com>wrote: > >> Hello all, >> >> I am trying to build the latest version
2009 Sep 25
6
[LLVMdev] JIT on ARM
Hello. My goal is to use LLVM with JIT compiler for ARM on Android device. Currently I have successfully built and executed LLVM bitcode with interpreter on Android. Speed is not so great, that is why I want to use JIT. I tried building bitcode on windows with llvm-gcc that is provided on llvm home page. Resulting bitcode runs great in interpreter, but it doesn't use JIT. From what I
2007 Sep 18
0
[LLVMdev] 2.1 Pre-Release Available (testers needed)
On Mon, Sep 17, 2007 at 12:25:40PM -0700, Chris Lattner wrote: > On Mon, 17 Sep 2007, Emil Mikulic wrote: > >> The 2.1 pre-release (version 1) is available for testing: > >> http://llvm.org/prereleases/2.1/version1/ > > > > I suspect the utils/TableGen/FileParser.h.cvs in the tarball may be > > stale. I tried building LLVM without bison installed and got: