Displaying 20 results from an estimated 3000 matches similar to: "Mongrel grammar file"
2006 Sep 25
5
HTTP Parser (Regal)
Hi I was interested to see how Mongrel uses Lex/Yacc to parse the HTTP
requests using a Regal generated parser. I downloaded the source but do
not see the lex and yacc files...
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 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 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
2006 Jul 20
6
A few minor warnings from Sun Studio 11
These come courtesy of Sun Studio 11 on Solaris 10 in case you care:
"http11.c", line 54: warning: syntax error: empty declaration
"http11.c", line 55: warning: syntax error: empty declaration
"http11.c", line 56: warning: syntax error: empty declaration
"http11.c", line 57: warning: syntax error: empty declaration
"http11.c", line 58:
2007 Oct 22
30
TST is right out
Hi Zed,
I checked in a pure-Ruby URI classifier to Mongrel trunk. Ola''s Java
port of the TST had some bug, and I don''t think it''s necessary in the
first place. The Ruby classifier is around 25 lines instead of the
400-odd lines for the C extension and the 200-odd for the Java
extension. It uses a Regexp which is perhaps shady:
@matcher = Regexp.new(routes.map do
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
2006 Mar 30
25
Mongrel Web Server 0.3.12 -- Finally Out
Hello Folks,
This is the long awaited (like 2 weeks) 0.3.12 release of Mongrel. This
release has received heavier testing than previous releases and supports a
whole raft of improvements to existing functionality plus some new stuff.
For those not clued in, Mongrel is a web server written in (mostly) Ruby.
Check the funny dogs and read the docs about it at
http://mongrel.rubyforge.org/. The
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 22
2
http helpers c extension
hi,
I rewrote escape, unescape, and query_parse in a C extension.
http://s3.amazonaws.com/four.livejournal/20070922/http_helpers.tar.bz2
Here are some sample benchmarks (the benchmark script is included in
the package)
user system total real
escape: Single long
Mongrel: 1.680000 0.020000 1.700000 ( 1.837793)
HttpHlp: 0.030000 0.010000 0.040000 ( 0.036590)
2008 Jun 01
3
rbx gem
Hello. Some time ago I committed a Rubinius assembly-based HTTP parser
generated from Ragel to the Rubinius git repository. Yesterday I made a
Mongrel gem which installs and works on Rubinius. This basically involved
commenting out anything to do with fastthread or the http11 C extension.
If there''s interest in releasing a Rubinius-targeted gem, I can make changes
to the Rakefile to
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
2006 Jul 03
13
problem starting mongrel
Apologies for the formatting, but this is the error I get when I try to start
up mongrel. The app does work under webrick, so I''m not real sure what''s
going on here. Thanks for any insight into what''s going on.
-j
** Starting Mongrel listening at 0.0.0.0:3000
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:666:in `register'':
undefined method
2011 Jan 24
3
[LLVMdev] LLVM grammar for ANTLR
Has anyone written a grammar for LLVM for ANTLR. I mean an ANTLR
grammar that parses LLVM instructions. Is an LLVM grammar available
for any other parsing tool?
Surinder
2007 Dec 11
54
1.9
Hey so,
People are asking about Mongrel Ruby 1.9 compatibility. Isn''t the
point of 1.9 for library developers to have time to get ready for 2.0?
It''s not like 1.9 is a production release.
Evan
--
Evan Weaver
Cloudburst, LLC
2006 Sep 29
5
Request URI Length Override
Please help,
Does anyone know how to override the Mongrel request URI limits
built in? I know it was set at a 512 byte limit, but my application
will not work with this in place.
Why do I need a larger limit? I''ve written a rails application
that uses a bookmarklet to send large amounts of data from site to
site. The only way to do this is (and keep it cross browser
2006 Aug 24
9
[slightly offtopic] A small, fast Apache2.2 (if there is such a thing)
Hi.
I''m using Apache2.2 built from source + mod-proxy + ssl + svn.
Everything works fine but I''m sure you I could disable a ton of
modules during the build process and in httpd.conf to speed things up
and run a tighter memory footprint.
Has anyone bothered building Apache2.2 from source disabling all the
unneeded modules.
I am planning on going through the Apache docs but I
2009 Jun 07
1
Close to a 4.2 release; experimenting with Ragel alternatives
Hi Jason !
Hmmm, this is good and bad news:
Good: ruby hooks means I could use a single pass to parse textile
customizations in zena instead of running two parsers: nice.
Bad: I have just switched to ragel for QueryBuilder to parse pseudo
sql and I fear your shortcomings (if that''s an english phrase).
Could you describe more precisely what you are missing with ragel ?
I''m
2011 Mar 21
1
GSOC 2011 - QueryParser Reimplementation
hello everyone,
I am Maheshwar, a prefinal year Computer Science undergraduate student at
BITS-Pilani, India. When i was going through the GSOC ideas , i felt
interested in Quesry parser project. Till now i have implemented a couple of
LL(1) parsers as a part of my assignment in Compiler construction course,
so i would love to join and contribute to this project. So can any one tell
me how to go
2003 Jul 17
6
Formal definitions of R-language.
Hello!
Some CS-guys (the type who knows what Church formalism is) keep asking
me questions about formal definitions of R-language that I can not
answer (or even understand). Is there some freely available papers which
I can throw at them where it would be explained is R
functional/OOP/procedural language, does it use weak/strong,
dynamic/static typization, does it use lazy or ...(do not know