similar to: Mongrel 1.1.4, possible bug http_response

Displaying 20 results from an estimated 300 matches similar to: "Mongrel 1.1.4, possible bug http_response"

2009 Sep 09
0
[PATCH] http_response: don't "rescue nil" for body.close
This can hide bugs in Rack applications/middleware. Most other Rack handlers/servers seem to follow this route as well, so this helps ensure broken things will break loudly and more consistently across all Rack-enabled servers :) --- This will be in the next release, so fix your applications/middleware before hand... lib/unicorn/http_response.rb | 2 +- 1 files changed, 1 insertions(+), 1
2011 Jan 13
5
Unicorn 3.3.1 "Too many open files" error in kgio_tryaccept
Strange error which took down my server today: Unhandled listen loop exception #<Errno::EMFILE: Too many open files - accept>. /usr/local/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/unicorn-3.3.1/lib/unicorn/http_server.rb:606:in `kgio_tryaccept'' /usr/local/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/unicorn-3.3.1/lib/unicorn/http_server.rb:606:in
2004 Aug 06
0
Submission: Patch to libshout/sock.c for MacOSX
Hi, re libshout: MacOSX doesn't have poll(), which prevents sock.c from compiling. I've patched sock.c to use select(), which is supported on MacOSX, and should be elsewhere too. I've marked my changes with "SKoT" comments in the file below. Main changes are in sock_write_bytes(). - SKoT ------8<----- /* sock.c * - General Socket Functions * * Copyright (c) 1999
2009 Nov 04
7
About Unicorn Rack handler
Hi, A couple days ago, I was trying to run Unicorn for Ramaze, and found that `Unicorn.run'' didn''t share the same interface with other Rack handlers, i.e. `options[:Host]'' and `options[:Port]'' Because of this, I can''t just use: Rack::Handler.register(''unicorn'', ''Unicorn'') And invoke this:
2010 Jun 23
2
Purpose of "Status" header in HTTP responses?
Hi folks On line #63 of unicorn/http_response.rb a "Status" header is written to the socket. A comment in the code explains that some broken clients require this header and unicorn generously accommodates them. We?re having the opposite problem. One of our clients using Microsoft Windows and ASP haven?t been able to connect to our HTTP API since we moved it to unicorn from passenger.
2009 Jun 01
2
Webgeb 0.5.x possible in Windows XP?
Hi Colin, I think fcgi is only required for testing. I do without it and directly open the output files in my browser. Maybe try saying no to ramaze or whatever depends on fcgi? On Mon, Jun 1, 2009 at 18:02, Colin MacNaughton <colin.macnaughton at gmail.com> wrote: > I''m trying to install the latest webgen on Windows XP but am met with: > > [C:/Programs] gem install webgen
2011 Jan 06
1
[PATCH] close client socket after closing response body
I am wondering if there are any apps affected by this bug (and perhaps keeping people from switching Unicorn). It''s a fairly esoteric case, so I probably won''t make another release until tomorrow (sleepy now, will probably screw something else up or realize something else is broken :) Anyways it''s pushed out to master and 1.1.x-stable in case people want^Wneed it
2008 Jan 03
1
Mongrel stops to loading the page in browser
Hi all, I have a problem with mongrel-1.1.2 running with Apache Apache/2.0.61 and MySQL 5.0.45 on FreeBSD 6.1. I''m developing my application with InstantRails that uses Mongrel and everything is working great. I have about 30 shops in a table. I also store the logo images (png files) in the table for each shop. Under Windows/InstantRails everything is working correct. When i however
2008 Jan 03
23
deployment survey
Hello Mongrels, Building on the last messages about Fastthread, can we get a detailed survey of the different ways people are deploying their applications? It will help with near-future Mongrel development. Please include the following things: * Framework, if any (Camping, Merb, Rails, Nitro, Ramaze, IOWA, Rack...) * Mongrel version * Mongrel handlers used (rails, dirhandler, camping,
2010 May 10
1
Rails/mongrel/httpd issue - F13, rails 2.3.5
Hi, I have an issue with mongrel and rails. I add -B option(debug) to mongrel_rails in /etc/init.d/mongrel-rails but it didn't display more logs : http://ovirt.pastebin.com/N5v94cTu This is the page I get when I try to reach the ovirt web interface, I see the html tags (kerberos auth is working) : <html><body>You are being <a
2012 Nov 16
0
With streaming on, closed client connections cause Fatal Broken Pipe errors
Once we turned streaming on on www.songkick.com, we started getting these errors on production quite a bit. (See below) It appears that if the client closes the connection during the rendering of the template, the next attempt to write a portion of the page to the connection will fail with a Broken Pipe error, understandably. Rails catches this and turns it into a ActionView::Template::Error.
2014 Feb 13
3
Libguestfs (1.22.6) driver/changes for mingw/win32
Hi, I attached the changes I made to a vanilla libguestfs-1.22.6 in order to make it work in mingw/win32. Added is also the patch required to make QEMU compatible (add a command to QMP that lists the supported devices (the regilat way you do it print it to stderr, which is difficult to redirect in win32)). This is done on behalf of Intel Corp. Thanks, Or (oberon in irc)
2008 Nov 28
2
Webgen as a backend for a end-user friendly CMS?
Hi all, I just had the idea of using webgen as a backend for an end-user friendly CMS. Such an end-user would for example be someone who has no programming or computer skills that go beyond using M$ Word. After logging into a friendly, graphic-based admin area of the website (e.g. PHP or Ruby-based), he/she can easily create, change, delete menu nodes, text content, and do a lot of other
2009 Jan 29
2
HOWTO install webgen 0.5.6 on Debian GNU/Linux etch
Hi all, Cristian our sys-admin wrote a short HOWTO for Webgen 0.5.6 on Debian Etch, see https://wiki.fsfe.org/FellowshipHacks/Webgen. I thought it might be of interest for others as well. If you know a better way, please let us know. Best wishes, Matthias -- Deputy German Coordinator, Fellowship Coordinator Free Software Foundation Europe (FSFE) [] (http://fsfeurope.org) Join the
2020 Jun 19
2
SegFault when using TunnelServer=yes
Hi all, I have a network with about ~800. The network is a mix of tinc 1.0 and 1.1 nodes. It is gradually expanding for several years now. The problem is that at some point it seams the daemon can not handle the processing of the new connection and the edges. There are 3 major nodes in the system and every other node initially makes connection to one of them. Now after a lot of debugging
2011 Nov 29
1
Error in ROR App
hi all, i am new to ROR,I have one ROR app developed in old version i upgrade it with following version: RubyGems Environment: - RUBYGEMS VERSION: 1.3.2 - RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] - INSTALLATION DIRECTORY: D:/Ruby/lib/ruby/gems/1.8 - RUBY EXECUTABLE: D:/Ruby/bin/ruby.exe - EXECUTABLE DIRECTORY: D:/Ruby/bin - RUBYGEMS PLATFORMS: - ruby -
2007 Feb 07
5
Mocking ActiveResource
I want to use ActiveResource in my app. Instead of hitting server though, I want it to load from a file when I call find. Any clue how I do that? Pat
2010 Jun 13
5
script/server vs mongrel_rails start issue
I am having different results between when I start mongrel with script/ server and with mongrel_rails start. When I run script/server to boot mongrel everything runs fine, no errors. When I run mongrel_rails start I get the following errors - verified the problem on a fresh app and on two different environments (mac and yes, windows server 2008). The actual line of fault changes but the problem
2006 Mar 23
8
DRY principle - how to implement?
Hi all! I have ''send_status'' table which looks something like these: id code title 1 sent Sent 2 error Sending error 3 success Success Next I would like to associate some processed records with their ''send_status''. Is it better to use: 1) record.status_id = SendStatus.find(:one, :condition => "code=''sent''").id to
2006 Aug 24
3
Mousehole stuff
Hey everyone, I''m using mousehole for the first time today (love the artwork, btw) and I seem to be having problems with Camping and Markaby. When I go to the Apps page I get: Camping Problem! MouseHole::Controllers::RApps.GET TypeError /Users/tzaharia/Sites/mouseHole/lib/mouseHole/views.rb:78:in `+'': can''t convert String into Array:bla bla bla... The line in question