Displaying 20 results from an estimated 410 matches for "httpserver".
2010 Nov 22
1
Cannot start Xend
...line 44, in ?
from xen.xend.server import SrvDaemon
File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
27, in ?
import SrvServer
File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py", line
49, in ?
from xen.web.httpserver import HttpServer, UnixHttpServer
File "/usr/lib64/python2.4/site-packages/xen/web/httpserver.py", line
30, in ?
from xen.xend.Args import ArgError
ValueError: bad marshal data
Traceback (most recent call last):
File "/usr/sbin/xend", line 44, in ?
from xen.xend...
2010 Nov 22
1
Cannot start Xend
...line 44, in ?
from xen.xend.server import SrvDaemon
File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line
27, in ?
import SrvServer
File
"/usr/lib64/python2.4/site-packages/xen/xend/server/SrvServer.py", line
49, in ?
from xen.web.httpserver import HttpServer, UnixHttpServer
File "/usr/lib64/python2.4/site-packages/xen/web/httpserver.py", line
30, in ?
from xen.xend.Args import ArgError
ValueError: bad marshal data
Traceback (most recent call last):
File "/usr/sbin/xend", line 44, in ?
from xen.xend...
2007 Jul 31
0
Patch: Allow overriding of handler dispatch in Mongrel::HttpServer
...few
weeks thanks
largely to your work. Mongrel has been reliable, easy to use, and has
freed us from
having to do any of the nasty bits of HTTP. Thanks!
We''re adding a content-negotiation and filtering layer to the service
now, and have
run into a bit of a snag in the way
Mongrel::HttpServer#process_client does its
dispatching to the handlers registered for a given path: namely that
we want to be
able to wrap up Mongrel''s request and response objects in our own
objects and send
those to each handler''s #process method.
We could of course override #process_client i...
2012 Jan 15
1
How to mock out a WEBrick::HTTPServer?
...)
c/ and that the HTTP response given to the proxy with body is passed
back from the client.
Problems I''m running into
1. rpsec creates new instants of my proxy each test, such that multi
HTTP servers are running (see rspec implicate-subject)
1.1 This is due to my #initialise creating the HTTPServer, so is that
bad code in the init?
1.2 I did that so that starting is neater "Proxy.new.start"
2. I want to mock out the WEBrick::HTTPServer!
2.1 Such that I can test b & c above. Hows best?
Thanks in advance!
2013 Dec 09
2
[PATCH] rework master-to-worker signaling to use a pipe
...ew.each { |io| io.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) }
+ end
# :startdoc:
end
# :enddoc:
diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb
index f15c8a7..ae8ad13 100644
--- a/lib/unicorn/http_server.rb
+++ b/lib/unicorn/http_server.rb
@@ -42,16 +42,8 @@ class Unicorn::HttpServer
# it to wake up the master from IO.select in exactly the same manner
# djb describes in http://cr.yp.to/docs/selfpipe.html
#
- # * The workers immediately close the pipe they inherit from the
- # master and replace it with a new pipe after forking. This new
- # pipe is also used to wak...
2007 Oct 27
8
mongrel 1.0.3
Hello!
Run problems after upgrading to mongrel 1.0.3 from 1.0.1:
# uname -sr
FreeBSD 7.0-BETA1
# mongrel_rails start
** Starting Mongrel listening at :3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart).
** Rails signals registered. HUP => reload
2018 Sep 26
1
Re: [PATCH v2 3/3] v2v: -o rhv-upload: Add a test.
On Thursday, 20 September 2018 10:50:14 CEST Richard W.M. Jones wrote:
> +# Choose a random port number in range [50000,59999]
> +imageio_port = random.randint(50000,60000)
> +
> [...]
> +
> +def server():
> + server_address = ("", imageio_port)
> + httpd = HTTPServer(server_address, RequestHandler)
> + httpd.serve_forever()
The random port can be chosen directly by the OS, using the special
port 0:
>>> from http.server import HTTPServer, SimpleHTTPRequestHandler
>>> server_address = ("", 0)
>>> httpd = HTTPServ...
2006 Mar 18
2
problem with webrick and edge rails
...script/server
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2006-03-18 07:19:57] INFO WEBrick 1.3.1
[2006-03-18 07:19:57] INFO ruby 1.8.4 (2005-12-24) [i686-linux]
[2006-03-18 07:19:57] INFO WEBrick::HTTPServer#start: pid=2676 port=3000
[2006-03-18 07:20:02] INFO going to shutdown ...
[2006-03-18 07:20:02] INFO WEBrick::HTTPServer#start done.
no problem, webrick starts up and all is good.
now i switch to edge rails:
$ svn propset svn:externals "rails http://dev.rubyonrails.org/svn/rails/trunk&quo...
2007 Aug 06
4
[Patch] HttpServer.port reports the bound port
This is for when you pass mongrel 0 for the port and the OS assigns
an open one.
Corey
--- mongrel-1.0.1/lib/mongrel.rb 2007-08-05 15:29:59.000000000
-0700
+++ mongrel-1.0.1/lib/mongrel.rb.zero_port_fix 2007-08-05
15:29:23.000000000 -0700
@@ -560,7 +560,7 @@
@socket = TCPServer.new(host, port)
@classifier = URIClassifier.new
@host = host
- @port = port
2006 Aug 05
6
Q about Mongrel::Configurator
Hi,
what is the preferd way to configure/start mongrel?
[ ] with Mongrel::Configurator => HttpServer
[ ] @var = HttpServer.new(...) @var.run
I ask because the only debug methode i have found was in
Mongrel::Configurator ;-)
@Zed: are you also subscribed on nitro list?!
regards
Alex
2005 Nov 22
1
What? - 500 unless class Cart included
...server
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2005-11-22 23:47:55] INFO WEBrick 1.3.1
[2005-11-22 23:47:55] INFO ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]
[2005-11-22 23:47:55] INFO WEBrick::HTTPServer#start: pid=27010
port=3000
127.0.0.1 - - [22/Nov/2005:23:48:05 GMT] "GET /something HTTP/1.1" 500 0
- -> /something
127.0.0.1 - - [22/Nov/2005:23:48:06 GMT] "GET /favicon.ico HTTP/1.1"
200 0
- -> /favicon.ico
^C[2005-11-22 23:48:11] INFO going to shutdown ...
[2005-11...
2006 Sep 18
2
Datebocks and EdgeRails
...ion''
#{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:39:in `dispatch''
#{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:110:in
`handle_dispatch''
#{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:76:in
`service''
c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
c:/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread''
c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread''
c:/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start''
c:/r...
2006 Nov 25
3
[PATCH] HTTP accept filter support for FreeBSD
This small patch extends configure_socket_options to support FreeBSD''s
accf_http(9), which defers accept() until there''s a full HTTP request
to read.
Seems to work fine on 6.1-STABLE. DragonflyBSD should work too provided
the /freebsd/ line is modified to match it.
accf_http(9): http://www.freebsd.org/cgi/man.cgi?query=accf_http&sektion=9
--
Thomas
2010 Nov 12
1
Dashboard throwing undefined method `to_time' for nil:NilClass error on page view
...on
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2010-11-12 11:51:18] INFO WEBrick 1.3.1
[2010-11-12 11:51:18] INFO ruby 1.8.7 (2010-08-16) [sparc-
solaris2.10]
[2010-11-12 11:51:18] INFO WEBrick::HTTPServer#start: pid=3348
port=3000
Processing PagesController#home (for 192.168.0.20 at 2010-11-12
11:51:54) [GET]
Parameters: {"action"=>"home", "controller"=>"pages"}
NoMethodError (undefined method `to_time'' for nil:NilClass):
app/models/statu...
2006 Mar 07
4
Edge Rails - same code, different issues on mac and windows
...config/../vendor/rails/railties/lib/dispatcher.rb:37:in
`dispatch''
./script/../config/../vendor/rails/railties/lib/webrick_server.rb:115:in
`handle_dispatch''
./script/../config/../vendor/rails/railties/lib/webrick_server.rb:81:in
`service''
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread''
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread''
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start...
2006 Apr 11
9
Rails failure after upgrade to 1.1.2
...;'
/usr/lib/ruby/gems/1.9/gems/rails-1.1.2/lib/dispatcher.rb:37:in `dispatch''
/usr/lib/ruby/gems/1.9/gems/rails-1.1.2/lib/webrick_server.rb:115:in
`handle_dispatch''
/usr/lib/ruby/gems/1.9/gems/rails-1.1.2/lib/webrick_server.rb:81:in `service''
/usr/lib/ruby/1.9/webrick/httpserver.rb:111:in `service''
/usr/lib/ruby/1.9/webrick/httpserver.rb:70:in `run''
/usr/lib/ruby/1.9/webrick/server.rb:172:in `start_thread''
/usr/lib/ruby/1.9/webrick/server.rb:161
This error occured while loading the following files:
application.r
2006 Feb 13
3
TypeError
...gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in
`dispatch''
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:
117:in `handle_dispatch''
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:
83:in `service''
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
/usr/lib/ruby/1.8/webrick/server.rb:155:in `start_thread''
/usr/lib/ruby/1.8/webrick/server.rb:144:in `start''
/usr/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'&...
2006 Mar 31
2
Model inheritance is borken in Rails1.1
...;'
/usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/dispatcher.rb:38:in `dispatch''
/usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/webrick_server.rb:115:in
`handle_dispatch''
/usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/webrick_server.rb:81:in `service''
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread''
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread''
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start''
/usr/lib/ruby/1....
2009 Aug 19
11
Rails demo not showing up.
...ipt/server
=> Booting WEBrick
=> Rails 2.3.3 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2009-08-18 21:29:41] INFO WEBrick 1.3.1
[2009-08-18 21:29:41] INFO ruby 1.8.5 (2006-08-25) [i386-linux]
[2009-08-18 21:29:41] INFO WEBrick::HTTPServer#start: pid=10886
port=3000
-----
I typed http://localhost:3000 in my browser, and it didn''t work. Need
some troubleshooting advice. I am trying to use ruby on a centos
machine. Thanx in advance.
--deostroll
2005 Mar 02
3
uprgrade to 0.10: uninitialized constant Class::Object
...r/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/webrick_server.rb:34:in
`do_GET''", "/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
`__send__''", "/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
`service''", "/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in
`service''", "/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''",
"/usr/lib/ruby/1.8/webrick/server.rb:155:in `start_thread''",
"/usr/lib/ruby/1.8/webrick/server.rb:144:in `start''",
"/usr/lib/ruby/1.8/webrick/serv...