Displaying 20 results from an estimated 10000 matches similar to: "Packet"
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 Nov 08
26
Mongrel wiki?
Dear Mongrels,
The same questions keep coming up over and over on the list, which is
ok, but not really optimal. If we added a wiki to the Mongrel site to
handle FAQs, what wiki should it be?
Required features would be:
* Spam protection
* Doesn''t look shitty
I would probably spring for Trac (and also migrate the bugtracker) if
noone else has opinions, but I''m sure some of
2007 Jun 27
10
Q on cgi_multipart_eol_fix preqequisite for Mongrel on Win2K
Hi list,
I downloaded and tried to install Mongrel (latest stable version) from the
-win32 gem. Platform is Win2K.
It said it needed daemons so got and installed that. Then it said it needed
cgi_multipart_eol_fix (I think that was the name, not at my machine now, can
confirm later and repost if needed). Googled for that but couldn''t find it.
(Don''t have net connectivitity for a
2007 Dec 28
6
Arbitrary system files readable in 1.0.4 - 1.1.2
I just found a vulnerability in one of my web apps that was running
Mongrel 1.1.2 where I could go to URIs like
/.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/etc/passwd and it
would serve the actual /etc/passwd file.
The issue seems to be in lib/mongrel/handlers.rb in the change from
1.0.3 to 1.0.4
req_path = HttpRequest.unescape(path_info)
- if @path
- req_path =
2007 Oct 15
24
Design flaw? - num_processors, accept/close
Rails instances themselves are almost always single-threaded, whereas
Mongrel, and it''s acceptor, are multithreaded.
In a situation with long-running Rails pages this presents a problem for
mod_proxy_balancer.
If num_processors is greater than 1 ( default: 950 ), then Mongrel will
gladly accept incoming requests and queue them if its rails instance is
currently busy. So even
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
2007 Oct 22
6
weird error - stream closed
Hi all,
few days ago mongrel start crashing on one of my sites, i upgraded to
latest version (1.0.1) but problem still exists.
When i try to load page in browser random elements are missing or page
is blank (empty html). In mongrel.log i''m getting:
Mon Oct 22 01:10:47 +0200 2007: ERROR: stream closed
Mon Oct 22 01:10:47 +0200 2007: ERROR: closed stream
Mon Oct 22 01:10:47 +0200 2007:
2007 Oct 29
9
Problems with mongrel on NetBSD
I seem to have a (recent) problem with mongrel on NetBSD. I''m running
a development release of NetBSD (called NetBSD-current 4.99.34).
When I start mongrel, it listens on the IPv6 wildcard address, but not
on the IPv4 wildcard:
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with
2007 Oct 26
2
1.0.2
Hi all,
1.0.2 final will drop as soon as I get the win32 builds from Luis. Watch for it.
In the future we won''t do RCs but will just make point releases,
because no one really installed them except for ourselves. This is
what Zed used to do and what we should have done all along.
Note that the bug tracker is empty:
2007 Dec 14
21
Some silly benchs (was: 1.9)
Guys,
Just for fun, I tried to see (I know, a silly way to test it) how much
overhead we have calling the C functions of the extensions.
the benchmark script and the results:
http://pastie.caboo.se/128646
The naive C extension:
http://pastie.caboo.se/128647
I compared 1.8.6 (VC6 and mingw builds) against a fresh checkout of ruby trunk.
What I understand from that is 1.9 is slower than 1.8
2007 Dec 08
14
Small updates and release plan
Hello Guys,
I''ll like to suggest a small release fix before we start doing big
changes: platform fixes.
Current we''re setting MSWIN32 (mswin32) as platform for Windows gem,
but we should be using Gem::Platform::CURRENT instead (i386-mswin32 as
current Ruby windows implementation).
Also, the jruby/java platform need to be defined. That change will
ease the compatibility path
2007 Oct 11
7
1.0.2 release candidates
Hello Mongrels,
Release candidates for Mongrel 1.0.2 and its dependencies are now
available. Note that gems are now signed, so please add the Mongrel
public certificate via:
$ wget http://rubyforge.org/frs/download.php/25325/mongrel-public_cert.pem
$ gem cert --add mongrel-public_cert.pem
Now you can verify and install the candidates via gem install:
$ sudo gem install mongrel
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when
I try and install mongrel with gem it blows up when the fastthread
dependency tries to do a native compilation.
I couldn''t find a copy of the gemspec in the svn checkout but looking
at the one installed when gem installing mongrel didn''t show any
platform differentiation. There is platform
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
2007 Dec 15
6
1.1.2
Hi all,
There is a bug with Mongrel on JRuby 1.0.3 that the JRuby guys want
fixed before they release it.
If it''s ok with people I''d like to fix that, revert (at least for now)
the proxy response change, and tag that as 1.1.2 and release it.
Anything wrong with this plan?
Evan
--
Evan Weaver
Cloudburst, LLC
2007 Oct 12
5
deciphering objects.log
Howdy -- I''ve been tracking down mem leaks (oh, the fun...), and I think
there is a clue in objects.log. There are a few mentions of this file, but
usually Zed saying "look at this file and it will help you". Can anyone clue
me in to what the actual columns mean?
18,Float,143952,256821,112869,,,
18,String,39543,41693,2150,24.727076,55.526376,2308.000000
2007 Aug 08
2
The (Potentially) New Maintainers
Hello Everyone,
Been head down with personal stuff, but I wanted to shoot out this email saying that I''ve collected the list of volunteers and decided that I''d just hand the keys over to them and see how they do.
The list of people I have so far is:
Ezra Zygmuntowicz <ezmobius at gmail.com>
"Kirk Haines" <wyhaines at gmail.com>
"Wayne E. Seguin"
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
2007 Oct 24
28
random cpu spikes, EBADF errors
In May I had problem with mongrels suddenly consuming huge cpu resources for
a minute or two and then returning to normal (load average spikes up
to 3.8and then back down to a regular
0.2 over the course of 5 minutes, then again 1/2 hour later. or 4 hours
later, no predictable rhythm).
I posted to Litespeed forums because I thought the problem was there but
didn''t get far. And a week
2007 Dec 31
7
"mongrel_rails --version" reporting 1.1.2 instead of 1.1.3
FYI.
--
- Brian Gupta
http://opensolaris.org/os/project/nycosug/