Displaying 20 results from an estimated 10000 matches similar to: "clients hang on large PUTs to Mongrel::HttpHandler-based web service"
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
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 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 18
6
Win32 release coming?
Hi there
what''s the status of the 0.13.4 release on Windows? I want to wrap up
a project in the next 2 weeks and I''d wait for the new release if
it''s coming in that timeframe. Otherwise I''d stay with the current
windows version.
thanks
Jens-Christian Fischer
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...
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
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 07
9
LiteSpeed
Yo Zed,
Just curious -- what do you think of the LiteSpeed
server? Is it better than Lighty? Does it (gasp!) also
serve Rails apps like Mongrel? I think I read that
LiteSpeed doesn''t have proxying support.
Thanks,
Joe
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2006 May 24
8
Rails, Ubuntu dapper & Mongrel > uninitialized constant Mongrel::HttpHandler error
This on Ubuntu testing with the default ruby1.8 package, RubyForge current
gems, mongrel...this look familiar to anyone??
andre@andre:~/rails_apps/depot$ mongrel_rails
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.13/lib/mongrel/rails.rb:44:
uninitialized constant Mongrel::HttpHandler (NameError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require''
from
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)
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 Feb 27
15
Webrick in production?
Would you bother to setup a fastcgi for a "intranet accessible" application
that is like to get < 100 hits a day?
David
2007 Jan 04
3
Slightly OT: Rails + Mongrel Proxy Server without Apache
Hi,
I''m looking for suggestions on the simplest way to implement an HTTP
proxy under Rails/Mongrel. It should preserve ALL of the proxied HTTP
response - including all header content such keepalives, etc.
Yes, I know I can do this with Apache''s proxy module, and we already
do that for the non-development/test environments. This is just for
the development/test environment
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
2007 Jan 23
22
Mongrel 1.0.1 Officially Released
Alright folks, after nearly a month of pounding and beating up the Mongrel 1.0
RC1 release we''re putting out the official 1.0.1 release.
Read all about it at the (much funnier) news posting:
http://mongrel.rubyforge.org/news.html
For those people in a hurry, the gems should hit the mirrors and you can install using your usual commands. Refer the the above page for more help.
2007 Dec 25
30
Review of Code for 1.9
Hello Guys,
I''m reviewing the code for 1.9, and forgot about this when we first
spoke on this subject.
The current way we stop threads is using Thread#raise to spread
StopServer exception, which will not work as expected in 1.9.
1.9 will treat raised exceptions as #kill, like JRuby does, so the
worker threads will not finish serving the client and _then_ exiting,
but will be
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
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 Oct 25
14
[SEC] Mongrel Temporary Fix For cgi.rb 99% CPU DoS Attack
This is important so please read this message very carefully.
There is a DoS for Ruby''s cgi.rb that is easily exploitable. The attack involves sending a malformed multipart MIME body in an HTTP request. The full explanation of the attack as well as how to fix it RIGHT NOW is given below.
Most of the work was done by Jeremy Kemper and Jamis Buck. They did all the work of building the
2006 Oct 19
8
Mongrel::HttpHandlerPlugin
Hi,
I''m trying to write a file upload monitor for mongrel that uses
juggernaut to alert the browser of a change. I''m writing a plugin that
uses Mongrel::HttpHandlerPlugin but it looks like the only method that
gets called is process and that is only when the upload has finished.
I''m setting the following:
@request_notify = true
But I am still only getting process to