experella-proxy 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  #Experella-Proxy
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/experella-proxy.png)](http://badge.fury.io/rb/experella-proxy)
4
+ [![Build Status](https://travis-ci.org/experteer/experella-proxy.svg?branch=master)](https://travis-ci.org/experteer/experella-proxy)
4
5
 
5
6
  A balancing EventMachine reverse proxy based on [em-proxy](https://github.com/igrigorik/em-proxy).
6
7
  See our [presentation](http://experteer.github.io/experella-proxy/index.html) for a more detailed overview.
@@ -119,10 +120,19 @@ backend Takes an options hash defining a backend_server
119
120
  ```
120
121
  ###Logging
121
122
 
123
+ You can set a logger but the proxy will just log some startup messages. See set_on_event how to see more.
122
124
  ```
123
125
  set_logger specifies the Logger used by the program. The Logger must support debug/info/warn/error/fatal functions
124
126
  ```
125
127
 
128
+ ###Events
129
+
130
+ As a lot of thing are happening in the proxy in the appropriate level of logging is hard to find the proxy just emits some events. You can receive these events and do whatever you like to do (log, mail,....) by defining the event handler with:
131
+
132
+ ```
133
+ set_on_event specifies the event handler to be used. The handler is a lambda or Proc accepting a Symbol (name of the vent) and a hash of details.
134
+ ```
135
+
126
136
  ###Proxy Server
127
137
 
128
138
  ```
@@ -62,3 +62,11 @@ set_timeout(30.0)
62
62
  set_error_pages(404, "404.html")
63
63
  set_error_pages(503, "503.html")
64
64
 
65
+ #you can log things as you want:
66
+ #set_on_event(lambda do |name,detail|
67
+ # if detail.delete(:error)
68
+ # Experella.config.logger.error([name,detail.inspect])
69
+ # else
70
+ # Experella.config.logger.debug([name,detail.inspect])
71
+ # end
72
+ #end)
@@ -14,7 +14,7 @@ module ExperellaProxy
14
14
  # Calls client {Connection} {Connection#connected} method
15
15
  #
16
16
  def connection_completed
17
- log.debug [@name, :conn_complete]
17
+ event(:backend_connection_complete, :name => @name)
18
18
  @plexer.connected(@name)
19
19
  @connected.succeed
20
20
  end
@@ -27,7 +27,7 @@ module ExperellaProxy
27
27
  #
28
28
  # @param data [String] Opaque response data
29
29
  def receive_data(data)
30
- log.debug [:receive_backend, @name]
30
+ event(:backend_receive_data, :from_backend => @name)
31
31
  @plexer.relay_from_backend(@name, data)
32
32
  end
33
33
 
@@ -35,14 +35,14 @@ module ExperellaProxy
35
35
  #
36
36
  # @param data [String] data to be send to the connected backend server
37
37
  def send(data)
38
- log.debug [:send_backend, data]
38
+ event(:backend_send_data, :data => data)
39
39
  @connected.callback { send_data data }
40
40
  end
41
41
 
42
42
  # Notify upstream plexer that the backend server is done processing the request
43
43
  #
44
44
  def unbind
45
- log.debug [@name, :unbind]
45
+ event(:backend_unbind, :name => @name)
46
46
  @plexer.unbind_backend(@name)
47
47
  end
48
48
 
@@ -46,7 +46,7 @@ module ExperellaProxy
46
46
 
47
47
  end
48
48
 
49
- attr_reader :logger, :proxy, :timeout, :backends, :error_pages
49
+ attr_reader :logger, :proxy, :timeout, :backends, :error_pages, :on_event
50
50
 
51
51
  require 'logger'
52
52
 
@@ -58,6 +58,7 @@ module ExperellaProxy
58
58
  @backends=[]
59
59
  @proxy=[]
60
60
  @error_pages = {404 => "", 503 => ""}
61
+ @on_event=lambda { |name, data|}
61
62
  default_options={:timeout => 15.0, :logger => Logger.new($stdout)}
62
63
  options=options.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
63
64
  options=default_options.merge(options)
@@ -108,6 +109,9 @@ module ExperellaProxy
108
109
  @backends << backend_options
109
110
  end
110
111
 
112
+ def set_on_event(lambda)
113
+ @on_event=lambda
114
+ end
111
115
  # Sets the {Connection} timeout specified in the config file
112
116
  #
113
117
  # @param to [Float] timeout as float
@@ -91,7 +91,7 @@ module ExperellaProxy
91
91
  def close
92
92
  @unbound = true
93
93
  EM.next_tick(method(:close_connection_after_writing))
94
- log.debug [msec, :unbind_client_after_writing, @signature.to_s]
94
+ event(:connection_close, :signature => @signature, :msec => msec)
95
95
  end
96
96
 
97
97
  # Connects self to a BackendServer object
@@ -132,9 +132,8 @@ module ExperellaProxy
132
132
  #
133
133
  # @param name [String] name of the Server used for logging
134
134
  def connected(name)
135
- log.debug [msec, :connected]
136
135
  @on_connect.call(name) if @on_connect
137
- log.info msec + 'on_connect'.ljust(12) + " @" + @signature.to_s + ' ' + name
136
+ event(:connection_connected, :msec => msec, :signature => @signature.to_s, :name => name)
138
137
  relay_to_server
139
138
  end
140
139
 
@@ -158,12 +157,12 @@ module ExperellaProxy
158
157
  #
159
158
  # @param data [String] Opaque incoming data
160
159
  def receive_data(data)
161
- log.debug [msec, :connection, data]
160
+ event(:connection_receive_data_start, :msec => msec, :data => data)
162
161
  data = @on_data.call(data) if @on_data
163
162
  begin
164
163
  @request_parser << data
165
164
  rescue Http::Parser::Error
166
- log.warn [msec, "Parser error caused by invalid request data", "@#{@signature}"]
165
+ event(:connection_receive_data_parser_error, :msec => msec, :signature => @signature, :error => true)
167
166
  # on error unbind request_parser object, so additional data doesn't get parsed anymore
168
167
  #
169
168
  # assigning a string to the parser variable, will cause incoming data to get buffered
@@ -173,8 +172,7 @@ module ExperellaProxy
173
172
  close
174
173
  end
175
174
 
176
- log.info msec + 'on_data'.ljust(12) + " @" + @signature.to_s
177
- log.debug data
175
+ event(:connection_receive_data_stop, :msec => msec, :data => data)
178
176
  relay_to_server
179
177
  end
180
178
 
@@ -186,8 +184,7 @@ module ExperellaProxy
186
184
  # @param name [String] name of the Server used for logging
187
185
  # @param data [String] opaque response data
188
186
  def relay_from_backend(name, data)
189
- log.info msec + 'on_response'.ljust(12) + " @" + @signature.to_s + " from #{name}"
190
- log.debug [msec, "#{name.inspect}", data]
187
+ event(:connection_relay_from_backend, :msec => msec, :data => data, :name => name)
191
188
  @got_response = true
192
189
  data = @on_response.call(name, data) if @on_response
193
190
  get_request.response << data
@@ -234,7 +231,7 @@ module ExperellaProxy
234
231
  # @see #receive_data
235
232
  def post_init
236
233
  if @options[:tls]
237
- log.info [msec, "starting tls handshake @#{@signature}"]
234
+ event(:connection_tls_handshake_start, :msec => msec, :signature => @signature)
238
235
  start_tls(:private_key_file => @options[:private_key_file], :cert_chain_file => @options[:cert_chain_file], :verify_peer => false)
239
236
  end
240
237
  end
@@ -256,7 +253,7 @@ module ExperellaProxy
256
253
  # This callback exists because {#post_init} and connection_completed are not reliable for indicating when an
257
254
  # SSL/TLS connection is ready to have its certificate queried for.
258
255
  def ssl_handshake_completed
259
- log.info [msec, "ssl_handshake_completed successful"]
256
+ event(:connection_tls_handshake_stop, :msec => msec, :signature => @signature)
260
257
  end
261
258
 
262
259
  # Called by backend connections whenever their connection is closed.
@@ -270,8 +267,8 @@ module ExperellaProxy
270
267
  #
271
268
  # @param name [String] name of the Server used for logging
272
269
  def unbind_backend(name)
270
+ event(:connection_unbind_backend, :msec => msec, :signature => @signature, :response => @got_response)
273
271
 
274
- log.info msec + 'on_finish'.ljust(12) + " @" + @signature.to_s + " for #{name}" + " responded? " + @got_response.to_s
275
272
  if @on_finish
276
273
  @on_finish.call(name)
277
274
  end
@@ -280,11 +277,14 @@ module ExperellaProxy
280
277
 
281
278
  #if backend responded or client unbound connection (timeout probably triggers this too)
282
279
  if @got_response || @unbound
283
- log.info msec + "Request done! @" + @signature.to_s
284
- log.debug [msec, :backend_unbound, @requests.size, "keep alive? " + get_request.keep_alive.to_s]
280
+ event(:connection_unbind_backend_request_done,
281
+ :msec => msec,
282
+ :signature => @signature,
283
+ :size => @requests.size, :keep_alive => get_request.keep_alive.to_s)
284
+
285
285
  unless get_request.keep_alive
286
286
  close
287
- log.debug [msec, :connection_closed, "close non persistent connection after writing"]
287
+ event(:connection_unbind_backend_close, :msec => msec, :signature => @signature)
288
288
  end
289
289
  @requests.shift #pop first element,request is done
290
290
  @got_response = false #reset response flag
@@ -301,12 +301,11 @@ module ExperellaProxy
301
301
  end
302
302
  else
303
303
  #handle no backend response here
304
- log.error msec + "Error, backend didnt respond"
304
+ event(:connection_unbind_backend_error, :msec => msec, :error => true, :error_code => 503)
305
305
  error_page = "HTTP/1.1 503 Service unavailable\r\nContent-Length: #{config.error_pages[503].length}\r\nContent-Type: text/html;charset=utf-8\r\nConnection: close\r\n\r\n"
306
306
  unless get_request.header[:http_method].eql? "HEAD"
307
307
  error_page << config.error_pages[503]
308
308
  end
309
- log.error [msec, :error_to_client, error_page]
310
309
  send_data error_page
311
310
 
312
311
  close
@@ -326,10 +325,10 @@ module ExperellaProxy
326
325
  @unbound = true
327
326
  @on_unbind.call if @on_unbind
328
327
 
329
- log.info [msec, "Client connection unbound! @" + @signature.to_s]
328
+ event(:connection_unbind_client, :msec => msec, :signature => @signature)
330
329
  #lazy evaluated. if first is true, second would cause a nil-pointer!
331
- unless @requests.empty? || get_request.flushed?
332
- log.debug [msec, @requests.inspect]
330
+ unless @requests.empty? || get_request.flushed? #what does this mean?
331
+ #log.debug [msec, @requests.inspect]
333
332
  end
334
333
  #delete conn from queue if still queued
335
334
  connection_manager.free_connection(self)
@@ -391,17 +390,16 @@ module ExperellaProxy
391
390
  backend = connection_manager.backend_available?(get_request)
392
391
 
393
392
  if backend.is_a?(BackendServer)
394
- log.debug [msec + "Backend found"]
393
+ event(:connection_dispatch, :msec => msec, :type => :direct)
395
394
  connect_backendserver(backend)
396
395
  elsif backend == :queued
397
- log.debug [msec + "pushed on queue: no backend available"]
396
+ event(:connection_dispatch, :msec => msec, :type => :queued)
398
397
  else
399
- log.error msec + "Error, send client error message and unbind! No backend will match"
398
+ event(:connection_dispatch, :msec => msec, :type => :not_found, :error => true, :error_code => 404)
400
399
  error_page = "HTTP/1.1 404 Not Found\r\nContent-Length: #{config.error_pages[404].length}\r\nContent-Type: text/html;charset=utf-8\r\nConnection: close\r\n\r\n"
401
400
  unless get_request.header[:http_method].eql? "HEAD"
402
401
  error_page << config.error_pages[404]
403
402
  end
404
- log.error [msec, :error_to_client, error_page]
405
403
  send_data error_page
406
404
  close
407
405
  end
@@ -413,13 +411,12 @@ module ExperellaProxy
413
411
  @request_parser.on_message_begin = proc do
414
412
  @requests.push(Request.new(self))
415
413
  # this log also triggers if client sends new keep-alive request before backend was unbound
416
- log.info [msec + "pipelined request"] if @requests.length > 1
417
- log.debug [msec, :message_begin]
414
+ event(:connection_http_parser_start, :msec => msec, :pipelined => (@requests.length>1))
418
415
  end
419
416
 
420
417
  #called when request headers are completely parsed (first \r\n\r\n triggers this)
421
418
  @request_parser.on_headers_complete = proc do |h|
422
- log.info [msec, "new Request @#{@signature} Host: " + h["Host"] + " Request Path: " + @request_parser.request_url]
419
+ event(:connection_http_parser_headers_complete_start, :msec => msec, :signature => @signature, :request_path => @request_parser.request_url, :host => h["Host"])
423
420
  request = @requests.last
424
421
 
425
422
  # cache if client wants persistent connection
@@ -467,7 +464,7 @@ module ExperellaProxy
467
464
  if @request_parser.request_url.include? "http://"
468
465
  u = URI.parse(@request_parser.request_url)
469
466
  request.update_header(:Host => u.host)
470
- log.debug [msec, "Host set to absolut host from request_url", u.host]
467
+ event(:connection_http_parser_headers_complete_absolute_host, :msec => msec, :signature => @signature, :host => u.host)
471
468
  else
472
469
  u = URI.parse("http://" + h["Host"] + @request_parser.request_url)
473
470
  end
@@ -482,7 +479,7 @@ module ExperellaProxy
482
479
  dispatch_request
483
480
  end
484
481
 
485
- log.debug [msec, :on_header_complete, @requests.size]
482
+ event(:connection_http_parser_headers_complete_stop, :msec => msec, :requests => @requests.size)
486
483
  end
487
484
 
488
485
  @request_parser.on_body = proc do |chunk|
@@ -530,16 +527,15 @@ module ExperellaProxy
530
527
  # If the backend server is not yet connected, data is already buffered to be sent when the connection gets established
531
528
  #
532
529
  def relay_to_server
533
- log.debug [:relay_to_server, "@" + @signature.to_s, @backend, @requests.empty?, get_request.flushed?, @server.nil?]
534
530
  if @backend && !@requests.empty? && !get_request.flushed? && !@server.nil?
535
531
  # save some memory here if logger isn't set on debug
536
- if log.debug?
537
- data = get_request.flush
538
- @server.send_data data
539
- log.debug [msec, :data_to_server_send, "@" + @signature.to_s, data]
540
- else
541
- @server.send_data get_request.flush
542
- end
532
+ data = get_request.flush
533
+ @server.send_data data
534
+ event(:connection_relay_to_server, :msec => msec, :signature => @signature, :requests => @requests.size,
535
+ :flushed => get_request.flushed?, :server_set => !!@server, :data => data)
536
+ else
537
+ event(:connection_relay_to_server, :msec => msec, :signature => @signature, :requests => @requests.size,
538
+ :flushed => get_request.flushed?, :server_set => !!@server, :data => nil)
543
539
  end
544
540
  end
545
541
 
@@ -554,7 +550,7 @@ module ExperellaProxy
554
550
  if get_idle_time.nil?
555
551
  timer.cancel
556
552
  elsif get_idle_time > config.timeout
557
- log.info [msec, :unbind_client, :timeout, "@" + @signature.to_s]
553
+ event(:connection_timeout, :msec => msec, :signature => @signature)
558
554
  timer.cancel
559
555
  close
560
556
  end
@@ -19,11 +19,14 @@ module ExperellaProxy
19
19
  ExperellaProxy.config
20
20
  end
21
21
 
22
- # Get the global logger
22
+ # Dispatch events to event handler
23
23
  #
24
- # @return [Logger] logger set in config object
25
- def log
26
- ExperellaProxy.config.logger
24
+ # @param [Symbol] name is the name of the event
25
+ # @param [Hash] details contains details of the event
26
+ # see ExperellaProxy::Configuration#on_event
27
+
28
+ def event(name,details={})
29
+ config.on_event.call(name,details)
27
30
  end
28
31
 
29
32
  # Get the global connection manager
@@ -33,5 +36,8 @@ module ExperellaProxy
33
36
  ExperellaProxy.connection_manager
34
37
  end
35
38
 
39
+ def logger
40
+ config.logger
41
+ end
36
42
  end
37
43
  end
@@ -15,10 +15,10 @@ module ExperellaProxy
15
15
  #initalize backend servers from config
16
16
  config.backends.each do |backend|
17
17
  connection_manager.add_backend(BackendServer.new(backend[:host], backend[:port], backend))
18
- log.info "Initializing backend #{backend[:name]} at #{backend[:host]}:#{backend[:port]} with concurrency\
18
+ logger.info "Initializing backend #{backend[:name]} at #{backend[:host]}:#{backend[:port]} with concurrency\
19
19
  #{backend[:concurrency]}"
20
- log.info "Backend accepts: #{backend[:accepts].inspect}"
21
- log.info "Backend mangles: #{backend[:mangle].inspect}"
20
+ logger.info "Backend accepts: #{backend[:accepts].inspect}"
21
+ logger.info "Backend mangles: #{backend[:mangle].inspect}"
22
22
  end
23
23
 
24
24
  #start eventmachine
@@ -28,7 +28,7 @@ module ExperellaProxy
28
28
  trap("INT") { stop }
29
29
 
30
30
  if config.proxy.empty?
31
- log.fatal "No proxy host:port address configured. Stopping experella-proxy."
31
+ logger.fatal "No proxy host:port address configured. Stopping experella-proxy."
32
32
  return stop
33
33
  else
34
34
  config.proxy.each do |proxy|
@@ -37,8 +37,8 @@ module ExperellaProxy
37
37
  unless proxy[:options].nil?
38
38
  opts = options.merge(proxy[:options])
39
39
  end
40
- log.info "Launching experella-proxy at #{proxy[:host]}:#{proxy[:port]} with #{config.timeout}s timeout..."
41
- log.info "with options: #{opts.inspect}"
40
+ logger.info "Launching experella-proxy at #{proxy[:host]}:#{proxy[:port]} with #{config.timeout}s timeout..."
41
+ logger.info "with options: #{opts.inspect}"
42
42
  EventMachine::start_server(proxy[:host], proxy[:port],
43
43
  Connection, opts) do |conn|
44
44
  conn.instance_eval(&blk)
@@ -40,7 +40,7 @@ module ExperellaProxy
40
40
  # @param hsh [Hash] hash with keys :port :path :query containing URI information
41
41
  def add_uri(hsh)
42
42
  @uri.update(hsh)
43
- log.debug hsh
43
+ event(:request_add_uri, :uri => hsh)
44
44
  end
45
45
 
46
46
  # Returns the data in send_buffer and empties the send_buffer
@@ -90,7 +90,7 @@ module ExperellaProxy
90
90
  @send_buffer << "\r\n"
91
91
  #reconstruction complete
92
92
  @send_buffer << buf[1] unless buf.nil? #append buffered body
93
- log.debug [:reconstructed_sendbuffer, @send_buffer]
93
+ event(:request_reconstruct_header, :data => @send_buffer)
94
94
  end
95
95
 
96
96
  # Adds a hash to {#header}
@@ -47,7 +47,8 @@ module ExperellaProxy
47
47
  end
48
48
 
49
49
  rescue Http::Parser::Error
50
- log.warn ["Parser error caused by invalid response data", "@#{@conn.signature}"]
50
+ event(:response_add, :signature => @conn.signature, :error => true,
51
+ :description => "parser error caused by invalid response data")
51
52
  # on error unbind response_parser object, so additional data doesn't get parsed anymore
52
53
  #
53
54
  # assigning a string to the parser variable, will cause incoming data to get buffered
@@ -61,7 +62,7 @@ module ExperellaProxy
61
62
  #
62
63
  # @return [String] data to send
63
64
  def flush
64
- log.debug [:data_to_user, @send_buffer]
65
+ event(:response_flush,:data => @send_buffer)
65
66
  @send_buffer.slice!(0, @send_buffer.length)
66
67
  end
67
68
 
@@ -99,7 +100,7 @@ module ExperellaProxy
99
100
  end
100
101
  @send_buffer << "\r\n"
101
102
  #reconstruction complete
102
- log.debug [:response_reconstructed_header, @send_buffer]
103
+ event(:response_reconstruct_header, :data => @send_buffer)
103
104
  end
104
105
 
105
106
  # Adds a hash to {#header}
@@ -27,8 +27,7 @@ module ExperellaProxy
27
27
  def run
28
28
 
29
29
  Proxy.start(options = {}) do |conn|
30
-
31
- log.info msec + "new Connection @" + signature.to_s
30
+ event(:server_new_connection, :msec => msec, :signature => signature)
32
31
 
33
32
  # called on successful backend connection
34
33
  # backend is the name of the connected server
@@ -1,5 +1,7 @@
1
1
  module ExperellaProxy
2
2
  # ExperellaProxy Gemversion
3
+ # 0.0.10
4
+ # * no logging any more just firing events
3
5
  # 0.0.9
4
6
  # * added simplecov code coverage support.
5
7
  # * removed an unescaped duplicate debug log output
@@ -21,5 +23,5 @@ module ExperellaProxy
21
23
  # * added self-signed SSL certificate for TLS/HTTPS
22
24
  # * added config template init functionality
23
25
  #
24
- VERSION = "0.0.9"
26
+ VERSION = "0.0.10"
25
27
  end
@@ -9,6 +9,10 @@ require 'spec_helper'
9
9
  describe ExperellaProxy do
10
10
  include POSIX::Spawn
11
11
  include ExperellaProxy::Globals
12
+ def log
13
+ ExperellaProxy.config.logger
14
+ end
15
+
12
16
  let(:echo_server) {
13
17
  File.expand_path("../../echo-server/echo_server.rb", __FILE__)
14
18
  }
@@ -1,331 +1,187 @@
1
- I, [2014-02-12T13:10:42.480652 #17538] INFO -- : should respond with 503
2
- I, [2014-02-12T13:10:41.883428 #17543] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
3
- I, [2014-02-12T13:10:41.883475 #17543] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
4
- I, [2014-02-12T13:10:41.883491 #17543] INFO -- : Backend mangles: nil
5
- I, [2014-02-12T13:10:41.883522 #17543] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
6
- I, [2014-02-12T13:10:41.883539 #17543] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
7
- I, [2014-02-12T13:10:41.883552 #17543] INFO -- : Backend mangles: nil
8
- I, [2014-02-12T13:10:41.883580 #17543] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
9
- I, [2014-02-12T13:10:41.883598 #17543] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
10
- I, [2014-02-12T13:10:41.883612 #17543] INFO -- : Backend mangles: nil
11
- I, [2014-02-12T13:10:41.883638 #17543] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
12
- I, [2014-02-12T13:10:41.883653 #17543] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
13
- I, [2014-02-12T13:10:41.883666 #17543] INFO -- : Backend mangles: nil
14
- I, [2014-02-12T13:10:41.883770 #17543] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
15
- I, [2014-02-12T13:10:41.883786 #17543] INFO -- : with options: {}
16
- I, [2014-02-12T13:10:41.883841 #17543] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
17
- I, [2014-02-12T13:10:41.883856 #17543] INFO -- : with options: {}
18
- I, [2014-02-12T13:10:42.681917 #17543] INFO -- : 0.02ms: new Connection @5
19
- I, [2014-02-12T13:10:42.682163 #17543] INFO -- : 0.011ms: new Connection @7
20
- I, [2014-02-12T13:10:42.682642 #17543] INFO -- : ["0.762ms: ", "new Request @5 Host: experella.com Request Path: /anotherpath"]
21
- I, [2014-02-12T13:10:42.683171 #17543] INFO -- : 1.294ms: on_data @5
22
- I, [2014-02-12T13:10:42.683354 #17543] INFO -- : ["1.204ms: ", "new Request @7 Host: experella.com Request Path: /oneroute"]
23
- I, [2014-02-12T13:10:42.683586 #17543] INFO -- : 1.438ms: on_data @7
24
- I, [2014-02-12T13:10:42.683678 #17543] INFO -- : 1.797ms: on_finish @5 for exp proxy responded? false
25
- E, [2014-02-12T13:10:42.683719 #17543] ERROR -- : 1.845ms: Error, backend didnt respond
26
- E, [2014-02-12T13:10:42.683763 #17543] ERROR -- : ["1.89ms: ", :error_to_client, "HTTP/1.1 503 Service unavailable\r\nContent-Length: 285\r\nContent-Type: text/html;charset=utf-8\r\nConnection: close\r\n\r\n<!DOCTYPE html>\n<html>\n<head>\n <style type=\"text/css\"> body {\n text-align: center;\n font-family: helvetica, arial;\n font-size: 22px;\n color: #000;\n margin: 20px\n\n }\n\n </style>\n</head>\n<body>\n<h2> 503 Service unavailable!</h2>\n</body>\n</html>"]
27
- I, [2014-02-12T13:10:42.683991 #17543] INFO -- : ["2.11ms: ", "Client connection unbound! @5"]
28
- I, [2014-02-12T13:10:42.684228 #17543] INFO -- : 2.073ms: on_finish @7 for exp proxy responded? false
29
- E, [2014-02-12T13:10:42.684273 #17543] ERROR -- : 2.126ms: Error, backend didnt respond
30
- E, [2014-02-12T13:10:42.684312 #17543] ERROR -- : ["2.166ms: ", :error_to_client, "HTTP/1.1 503 Service unavailable\r\nContent-Length: 285\r\nContent-Type: text/html;charset=utf-8\r\nConnection: close\r\n\r\n"]
31
- I, [2014-02-12T13:10:42.684460 #17543] INFO -- : ["2.31ms: ", "Client connection unbound! @7"]
32
- I, [2014-02-12T13:10:42.684995 #17543] INFO -- : Terminating experella-proxy
33
- I, [2014-02-12T13:10:44.488560 #17538] INFO -- : should be able to handle post requests
34
- I, [2014-02-12T13:10:43.890728 #17547] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
35
- I, [2014-02-12T13:10:43.890797 #17547] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
36
- I, [2014-02-12T13:10:43.890823 #17547] INFO -- : Backend mangles: nil
37
- I, [2014-02-12T13:10:43.890857 #17547] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
38
- I, [2014-02-12T13:10:43.890876 #17547] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
39
- I, [2014-02-12T13:10:43.890889 #17547] INFO -- : Backend mangles: nil
40
- I, [2014-02-12T13:10:43.890918 #17547] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
41
- I, [2014-02-12T13:10:43.890937 #17547] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
42
- I, [2014-02-12T13:10:43.890950 #17547] INFO -- : Backend mangles: nil
43
- I, [2014-02-12T13:10:43.890977 #17547] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
44
- I, [2014-02-12T13:10:43.890992 #17547] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
45
- I, [2014-02-12T13:10:43.891005 #17547] INFO -- : Backend mangles: nil
46
- I, [2014-02-12T13:10:43.891112 #17547] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
47
- I, [2014-02-12T13:10:43.891128 #17547] INFO -- : with options: {}
48
- I, [2014-02-12T13:10:43.891182 #17547] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
49
- I, [2014-02-12T13:10:43.891197 #17547] INFO -- : with options: {}
50
- I, [2014-02-12T13:10:44.689575 #17547] INFO -- : 0.02ms: new Connection @5
51
- I, [2014-02-12T13:10:44.689838 #17547] INFO -- : ["0.301ms: ", "new Request @5 Host: experella.com Request Path: /"]
52
- I, [2014-02-12T13:10:44.690306 #17547] INFO -- : 0.77ms: on_data @5
53
- I, [2014-02-12T13:10:44.690434 #17547] INFO -- : 0.9ms: on_connect @5 experella1
54
- I, [2014-02-12T13:10:44.690803 #17547] INFO -- : 1.257ms: on_response @5 from experella1
55
- I, [2014-02-12T13:10:44.691054 #17547] INFO -- : 1.513ms: on_finish @5 for experella1 responded? true
56
- I, [2014-02-12T13:10:44.691104 #17547] INFO -- : 1.571ms: Request done! @5
57
- I, [2014-02-12T13:10:44.691310 #17547] INFO -- : ["1.775ms: ", "Client connection unbound! @5"]
58
- I, [2014-02-12T13:10:44.691569 #17547] INFO -- : Terminating experella-proxy
59
- I, [2014-02-12T13:10:46.496618 #17538] INFO -- : should reuse keep-alive connections
60
- I, [2014-02-12T13:10:45.896880 #17550] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
61
- I, [2014-02-12T13:10:45.896933 #17550] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
62
- I, [2014-02-12T13:10:45.896949 #17550] INFO -- : Backend mangles: nil
63
- I, [2014-02-12T13:10:45.896982 #17550] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
64
- I, [2014-02-12T13:10:45.897000 #17550] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
65
- I, [2014-02-12T13:10:45.897014 #17550] INFO -- : Backend mangles: nil
66
- I, [2014-02-12T13:10:45.897043 #17550] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
67
- I, [2014-02-12T13:10:45.897062 #17550] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
68
- I, [2014-02-12T13:10:45.897076 #17550] INFO -- : Backend mangles: nil
69
- I, [2014-02-12T13:10:45.897104 #17550] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
70
- I, [2014-02-12T13:10:45.897120 #17550] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
71
- I, [2014-02-12T13:10:45.897133 #17550] INFO -- : Backend mangles: nil
72
- I, [2014-02-12T13:10:45.897245 #17550] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
73
- I, [2014-02-12T13:10:45.897261 #17550] INFO -- : with options: {}
74
- I, [2014-02-12T13:10:45.897318 #17550] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
75
- I, [2014-02-12T13:10:45.897333 #17550] INFO -- : with options: {}
76
- I, [2014-02-12T13:10:46.697801 #17550] INFO -- : 0.02ms: new Connection @5
77
- I, [2014-02-12T13:10:46.698068 #17550] INFO -- : ["0.305ms: ", "new Request @5 Host: experella.com Request Path: /"]
78
- I, [2014-02-12T13:10:46.698524 #17550] INFO -- : 0.765ms: on_data @5
79
- I, [2014-02-12T13:10:46.698666 #17550] INFO -- : 0.906ms: on_connect @5 experella1
80
- I, [2014-02-12T13:10:46.699016 #17550] INFO -- : 1.245ms: on_response @5 from experella1
81
- I, [2014-02-12T13:10:46.699270 #17550] INFO -- : 1.504ms: on_finish @5 for experella1 responded? true
82
- I, [2014-02-12T13:10:46.699320 #17550] INFO -- : 1.563ms: Request done! @5
83
- I, [2014-02-12T13:10:46.699901 #17550] INFO -- : ["2.139ms: ", "new Request @5 Host: experella.com Request Path: /about/"]
84
- I, [2014-02-12T13:10:46.700271 #17550] INFO -- : 2.512ms: on_data @5
85
- I, [2014-02-12T13:10:46.700378 #17550] INFO -- : 2.62ms: on_connect @5 experella2
86
- I, [2014-02-12T13:10:46.700657 #17550] INFO -- : 2.886ms: on_response @5 from experella2
87
- I, [2014-02-12T13:10:46.700880 #17550] INFO -- : 3.116ms: on_finish @5 for experella2 responded? true
88
- I, [2014-02-12T13:10:46.700929 #17550] INFO -- : 3.171ms: Request done! @5
89
- I, [2014-02-12T13:10:46.701479 #17550] INFO -- : ["3.717ms: ", "new Request @5 Host: experella.com Request Path: /"]
90
- I, [2014-02-12T13:10:46.701870 #17550] INFO -- : 4.111ms: on_data @5
91
- I, [2014-02-12T13:10:46.701979 #17550] INFO -- : 4.221ms: on_connect @5 experella1
92
- I, [2014-02-12T13:10:46.702259 #17550] INFO -- : 4.489ms: on_response @5 from experella1
93
- I, [2014-02-12T13:10:46.702499 #17550] INFO -- : 4.735ms: on_finish @5 for experella1 responded? true
94
- I, [2014-02-12T13:10:46.702548 #17550] INFO -- : 4.79ms: Request done! @5
95
- I, [2014-02-12T13:10:46.702744 #17550] INFO -- : ["4.984ms: ", "Client connection unbound! @5"]
96
- I, [2014-02-12T13:10:46.702983 #17550] INFO -- : Terminating experella-proxy
97
- I, [2014-02-12T13:10:48.508535 #17538] INFO -- : should respond with 404
98
- I, [2014-02-12T13:10:47.908701 #17552] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
99
- I, [2014-02-12T13:10:47.908748 #17552] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
100
- I, [2014-02-12T13:10:47.908764 #17552] INFO -- : Backend mangles: nil
101
- I, [2014-02-12T13:10:47.908795 #17552] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
102
- I, [2014-02-12T13:10:47.908813 #17552] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
103
- I, [2014-02-12T13:10:47.908825 #17552] INFO -- : Backend mangles: nil
104
- I, [2014-02-12T13:10:47.908853 #17552] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
105
- I, [2014-02-12T13:10:47.908871 #17552] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
106
- I, [2014-02-12T13:10:47.908884 #17552] INFO -- : Backend mangles: nil
107
- I, [2014-02-12T13:10:47.908910 #17552] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
108
- I, [2014-02-12T13:10:47.908925 #17552] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
109
- I, [2014-02-12T13:10:47.908937 #17552] INFO -- : Backend mangles: nil
110
- I, [2014-02-12T13:10:47.909042 #17552] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
111
- I, [2014-02-12T13:10:47.909058 #17552] INFO -- : with options: {}
112
- I, [2014-02-12T13:10:47.909111 #17552] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
113
- I, [2014-02-12T13:10:47.909125 #17552] INFO -- : with options: {}
114
- I, [2014-02-12T13:10:48.709773 #17552] INFO -- : 0.019ms: new Connection @5
115
- I, [2014-02-12T13:10:48.709965 #17552] INFO -- : 0.01ms: new Connection @7
116
- I, [2014-02-12T13:10:48.710432 #17552] INFO -- : ["0.695ms: ", "new Request @5 Host: 127.0.0.1:6896 Request Path: /"]
117
- E, [2014-02-12T13:10:48.710746 #17552] ERROR -- : 1.012ms: Error, send client error message and unbind! No backend will match
118
- E, [2014-02-12T13:10:48.710819 #17552] ERROR -- : ["1.087ms: ", :error_to_client, "HTTP/1.1 404 Not Found\r\nContent-Length: 277\r\nContent-Type: text/html;charset=utf-8\r\nConnection: close\r\n\r\n"]
119
- I, [2014-02-12T13:10:48.710954 #17552] INFO -- : 1.222ms: on_data @5
120
- I, [2014-02-12T13:10:48.711098 #17552] INFO -- : ["1.146ms: ", "new Request @7 Host: 127.0.0.1:6896 Request Path: /"]
121
- E, [2014-02-12T13:10:48.711300 #17552] ERROR -- : 1.348ms: Error, send client error message and unbind! No backend will match
122
- E, [2014-02-12T13:10:48.711348 #17552] ERROR -- : ["1.399ms: ", :error_to_client, "HTTP/1.1 404 Not Found\r\nContent-Length: 277\r\nContent-Type: text/html;charset=utf-8\r\nConnection: close\r\n\r\n<!DOCTYPE html>\n<html>\n<head>\n <style type=\"text/css\"> body {\n text-align: center;\n font-family: helvetica, arial;\n font-size: 22px;\n color: #000;\n margin: 20px\n }\n </style>\n</head>\n<body>\n<h2>404 Page not found!</h2>\n</body>\n</html>"]
123
- I, [2014-02-12T13:10:48.711454 #17552] INFO -- : 1.499ms: on_data @7
124
- I, [2014-02-12T13:10:48.711630 #17552] INFO -- : ["1.896ms: ", "Client connection unbound! @5"]
125
- I, [2014-02-12T13:10:48.711731 #17552] INFO -- : ["1.778ms: ", "Client connection unbound! @7"]
126
- I, [2014-02-12T13:10:48.712294 #17552] INFO -- : Terminating experella-proxy
127
- I, [2014-02-12T13:10:50.516193 #17538] INFO -- : should timeout inactive connections after config.timeout
128
- I, [2014-02-12T13:10:49.916724 #17556] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
129
- I, [2014-02-12T13:10:49.916773 #17556] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
130
- I, [2014-02-12T13:10:49.916788 #17556] INFO -- : Backend mangles: nil
131
- I, [2014-02-12T13:10:49.916819 #17556] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
132
- I, [2014-02-12T13:10:49.916837 #17556] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
133
- I, [2014-02-12T13:10:49.916849 #17556] INFO -- : Backend mangles: nil
134
- I, [2014-02-12T13:10:49.916877 #17556] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
135
- I, [2014-02-12T13:10:49.916895 #17556] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
136
- I, [2014-02-12T13:10:49.916908 #17556] INFO -- : Backend mangles: nil
137
- I, [2014-02-12T13:10:49.916934 #17556] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
138
- I, [2014-02-12T13:10:49.916949 #17556] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
139
- I, [2014-02-12T13:10:49.916961 #17556] INFO -- : Backend mangles: nil
140
- I, [2014-02-12T13:10:49.917067 #17556] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
141
- I, [2014-02-12T13:10:49.917083 #17556] INFO -- : with options: {}
142
- I, [2014-02-12T13:10:49.917137 #17556] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
143
- I, [2014-02-12T13:10:49.917152 #17556] INFO -- : with options: {}
144
- I, [2014-02-12T13:10:50.717274 #17556] INFO -- : 0.021ms: new Connection @5
145
- I, [2014-02-12T13:10:50.717533 #17556] INFO -- : ["0.297ms: ", "new Request @5 Host: experella.com Request Path: /"]
146
- I, [2014-02-12T13:10:50.717994 #17556] INFO -- : 0.76ms: on_data @5
147
- I, [2014-02-12T13:10:50.718122 #17556] INFO -- : 0.89ms: on_connect @5 experella1
148
- I, [2014-02-12T13:10:50.718448 #17556] INFO -- : 1.204ms: on_response @5 from experella1
149
- I, [2014-02-12T13:10:50.718708 #17556] INFO -- : 1.468ms: on_finish @5 for experella1 responded? true
150
- I, [2014-02-12T13:10:50.718772 #17556] INFO -- : 1.526ms: Request done! @5
151
- I, [2014-02-12T13:10:56.723670 #17556] INFO -- : ["6006.413ms: ", :unbind_client, :timeout, "@5"]
152
- I, [2014-02-12T13:10:56.723906 #17556] INFO -- : ["6006.671ms: ", "Client connection unbound! @5"]
153
- I, [2014-02-12T13:10:57.896128 #17556] INFO -- : Terminating experella-proxy
154
- I, [2014-02-12T13:10:59.700574 #17538] INFO -- : should stream chunked post requests
155
- I, [2014-02-12T13:10:59.098035 #17570] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
156
- I, [2014-02-12T13:10:59.098083 #17570] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
157
- I, [2014-02-12T13:10:59.098098 #17570] INFO -- : Backend mangles: nil
158
- I, [2014-02-12T13:10:59.098129 #17570] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
159
- I, [2014-02-12T13:10:59.098146 #17570] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
160
- I, [2014-02-12T13:10:59.098159 #17570] INFO -- : Backend mangles: nil
161
- I, [2014-02-12T13:10:59.098187 #17570] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
162
- I, [2014-02-12T13:10:59.098205 #17570] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
163
- I, [2014-02-12T13:10:59.098217 #17570] INFO -- : Backend mangles: nil
164
- I, [2014-02-12T13:10:59.098243 #17570] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
165
- I, [2014-02-12T13:10:59.098258 #17570] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
166
- I, [2014-02-12T13:10:59.098270 #17570] INFO -- : Backend mangles: nil
167
- I, [2014-02-12T13:10:59.098377 #17570] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
168
- I, [2014-02-12T13:10:59.098392 #17570] INFO -- : with options: {}
169
- I, [2014-02-12T13:10:59.098447 #17570] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
170
- I, [2014-02-12T13:10:59.098461 #17570] INFO -- : with options: {}
171
- I, [2014-02-12T13:10:59.916851 #17570] INFO -- : 0.021ms: new Connection @5
172
- I, [2014-02-12T13:10:59.917117 #17570] INFO -- : ["0.305ms: ", "new Request @5 Host: experella.com Request Path: /"]
173
- I, [2014-02-12T13:10:59.917694 #17570] INFO -- : 0.882ms: on_data @5
174
- I, [2014-02-12T13:10:59.917884 #17570] INFO -- : 1.076ms: on_data @5
175
- I, [2014-02-12T13:10:59.917991 #17570] INFO -- : 1.176ms: on_connect @5 experella1
176
- I, [2014-02-12T13:10:59.918701 #17570] INFO -- : 1.888ms: on_response @5 from experella1
177
- I, [2014-02-12T13:10:59.918940 #17570] INFO -- : 2.124ms: on_response @5 from experella1
178
- I, [2014-02-12T13:10:59.919099 #17570] INFO -- : 2.285ms: on_finish @5 for experella1 responded? true
179
- I, [2014-02-12T13:10:59.919145 #17570] INFO -- : 2.337ms: Request done! @5
180
- I, [2014-02-12T13:10:59.919340 #17570] INFO -- : ["2.531ms: ", "Client connection unbound! @5"]
181
- I, [2014-02-12T13:10:59.919931 #17570] INFO -- : Terminating experella-proxy
182
- I, [2014-02-12T13:11:01.724575 #17538] INFO -- : should rechunk and stream Transfer-Encoding chunked responses
183
- I, [2014-02-12T13:11:01.125718 #17573] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
184
- I, [2014-02-12T13:11:01.125765 #17573] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
185
- I, [2014-02-12T13:11:01.125781 #17573] INFO -- : Backend mangles: nil
186
- I, [2014-02-12T13:11:01.125811 #17573] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
187
- I, [2014-02-12T13:11:01.125829 #17573] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
188
- I, [2014-02-12T13:11:01.125842 #17573] INFO -- : Backend mangles: nil
189
- I, [2014-02-12T13:11:01.125871 #17573] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
190
- I, [2014-02-12T13:11:01.125890 #17573] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
191
- I, [2014-02-12T13:11:01.125902 #17573] INFO -- : Backend mangles: nil
192
- I, [2014-02-12T13:11:01.125928 #17573] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
193
- I, [2014-02-12T13:11:01.125944 #17573] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
194
- I, [2014-02-12T13:11:01.125956 #17573] INFO -- : Backend mangles: nil
195
- I, [2014-02-12T13:11:01.126065 #17573] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
196
- I, [2014-02-12T13:11:01.126080 #17573] INFO -- : with options: {}
197
- I, [2014-02-12T13:11:01.126135 #17573] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
198
- I, [2014-02-12T13:11:01.126149 #17573] INFO -- : with options: {}
199
- I, [2014-02-12T13:11:01.925768 #17573] INFO -- : 0.02ms: new Connection @5
200
- I, [2014-02-12T13:11:01.926028 #17573] INFO -- : ["0.299ms: ", "new Request @5 Host: experella.com Request Path: /chunked"]
201
- I, [2014-02-12T13:11:01.926497 #17573] INFO -- : 0.771ms: on_data @5
202
- I, [2014-02-12T13:11:01.926626 #17573] INFO -- : 0.901ms: on_connect @5 experella1
203
- I, [2014-02-12T13:11:01.926984 #17573] INFO -- : 1.247ms: on_response @5 from experella1
204
- I, [2014-02-12T13:11:01.927266 #17573] INFO -- : 1.534ms: on_finish @5 for experella1 responded? true
205
- I, [2014-02-12T13:11:01.927316 #17573] INFO -- : 1.591ms: Request done! @5
206
- I, [2014-02-12T13:11:01.927515 #17573] INFO -- : ["1.789ms: ", "Client connection unbound! @5"]
207
- I, [2014-02-12T13:11:01.927827 #17573] INFO -- : Terminating experella-proxy
208
- I, [2014-02-12T13:11:03.736684 #17538] INFO -- : should accept requests on all set proxy domains
209
- I, [2014-02-12T13:11:03.138359 #17581] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
210
- I, [2014-02-12T13:11:03.138411 #17581] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
211
- I, [2014-02-12T13:11:03.138428 #17581] INFO -- : Backend mangles: nil
212
- I, [2014-02-12T13:11:03.138462 #17581] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
213
- I, [2014-02-12T13:11:03.138480 #17581] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
214
- I, [2014-02-12T13:11:03.138493 #17581] INFO -- : Backend mangles: nil
215
- I, [2014-02-12T13:11:03.138522 #17581] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
216
- I, [2014-02-12T13:11:03.138540 #17581] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
217
- I, [2014-02-12T13:11:03.138553 #17581] INFO -- : Backend mangles: nil
218
- I, [2014-02-12T13:11:03.138580 #17581] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
219
- I, [2014-02-12T13:11:03.138596 #17581] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
220
- I, [2014-02-12T13:11:03.138608 #17581] INFO -- : Backend mangles: nil
221
- I, [2014-02-12T13:11:03.138721 #17581] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
222
- I, [2014-02-12T13:11:03.138737 #17581] INFO -- : with options: {}
223
- I, [2014-02-12T13:11:03.138826 #17581] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
224
- I, [2014-02-12T13:11:03.138841 #17581] INFO -- : with options: {}
225
- I, [2014-02-12T13:11:03.937877 #17581] INFO -- : 0.02ms: new Connection @5
226
- I, [2014-02-12T13:11:03.938095 #17581] INFO -- : 0.011ms: new Connection @7
227
- I, [2014-02-12T13:11:03.938549 #17581] INFO -- : ["0.701ms: ", "new Request @5 Host: experella.com Request Path: /"]
228
- I, [2014-02-12T13:11:03.939053 #17581] INFO -- : 1.217ms: on_data @5
229
- I, [2014-02-12T13:11:03.939242 #17581] INFO -- : ["1.161ms: ", "new Request @7 Host: experella.com Request Path: /"]
230
- I, [2014-02-12T13:11:03.939570 #17581] INFO -- : 1.49ms: on_data @7
231
- I, [2014-02-12T13:11:03.939680 #17581] INFO -- : 1.845ms: on_connect @5 experella1
232
- I, [2014-02-12T13:11:03.939755 #17581] INFO -- : 1.675ms: on_connect @7 experella2
233
- I, [2014-02-12T13:11:03.940111 #17581] INFO -- : 2.263ms: on_response @5 from experella1
234
- I, [2014-02-12T13:11:03.940298 #17581] INFO -- : 2.215ms: on_response @7 from experella2
235
- I, [2014-02-12T13:11:03.940516 #17581] INFO -- : 2.674ms: on_finish @5 for experella1 responded? true
236
- I, [2014-02-12T13:11:03.940564 #17581] INFO -- : 2.729ms: Request done! @5
237
- I, [2014-02-12T13:11:03.940751 #17581] INFO -- : 2.667ms: on_finish @7 for experella2 responded? true
238
- I, [2014-02-12T13:11:03.940796 #17581] INFO -- : 2.717ms: Request done! @7
239
- I, [2014-02-12T13:11:03.940974 #17581] INFO -- : ["3.137ms: ", "Client connection unbound! @5"]
240
- I, [2014-02-12T13:11:03.941114 #17581] INFO -- : Terminating experella-proxy
241
- I, [2014-02-12T13:11:03.941070 #17581] INFO -- : ["2.989ms: ", "Client connection unbound! @7"]
242
- I, [2014-02-12T13:11:05.744728 #17538] INFO -- : should get response from the echoserver via the proxy
243
- I, [2014-02-12T13:11:05.151723 #17584] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
244
- I, [2014-02-12T13:11:05.151772 #17584] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
245
- I, [2014-02-12T13:11:05.151788 #17584] INFO -- : Backend mangles: nil
246
- I, [2014-02-12T13:11:05.151819 #17584] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
247
- I, [2014-02-12T13:11:05.151836 #17584] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
248
- I, [2014-02-12T13:11:05.151849 #17584] INFO -- : Backend mangles: nil
249
- I, [2014-02-12T13:11:05.151877 #17584] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
250
- I, [2014-02-12T13:11:05.151894 #17584] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
251
- I, [2014-02-12T13:11:05.151907 #17584] INFO -- : Backend mangles: nil
252
- I, [2014-02-12T13:11:05.151933 #17584] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
253
- I, [2014-02-12T13:11:05.151948 #17584] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
254
- I, [2014-02-12T13:11:05.151960 #17584] INFO -- : Backend mangles: nil
255
- I, [2014-02-12T13:11:05.152067 #17584] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
256
- I, [2014-02-12T13:11:05.152082 #17584] INFO -- : with options: {}
257
- I, [2014-02-12T13:11:05.152136 #17584] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
258
- I, [2014-02-12T13:11:05.152150 #17584] INFO -- : with options: {}
259
- I, [2014-02-12T13:11:05.945893 #17584] INFO -- : 0.019ms: new Connection @5
260
- I, [2014-02-12T13:11:05.946155 #17584] INFO -- : ["0.298ms: ", "new Request @5 Host: experella.com Request Path: /"]
261
- I, [2014-02-12T13:11:05.946616 #17584] INFO -- : 0.762ms: on_data @5
262
- I, [2014-02-12T13:11:05.946745 #17584] INFO -- : 0.891ms: on_connect @5 experella1
263
- I, [2014-02-12T13:11:05.947112 #17584] INFO -- : 1.247ms: on_response @5 from experella1
264
- I, [2014-02-12T13:11:05.947360 #17584] INFO -- : 1.5ms: on_finish @5 for experella1 responded? true
265
- I, [2014-02-12T13:11:05.947409 #17584] INFO -- : 1.557ms: Request done! @5
266
- I, [2014-02-12T13:11:05.947611 #17584] INFO -- : ["1.756ms: ", "Client connection unbound! @5"]
267
- I, [2014-02-12T13:11:05.947843 #17584] INFO -- : Terminating experella-proxy
268
- I, [2014-02-12T13:11:07.752691 #17538] INFO -- : should respond with 400 on malformed request
269
- I, [2014-02-12T13:11:07.157394 #17589] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
270
- I, [2014-02-12T13:11:07.157441 #17589] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
271
- I, [2014-02-12T13:11:07.157457 #17589] INFO -- : Backend mangles: nil
272
- I, [2014-02-12T13:11:07.157488 #17589] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
273
- I, [2014-02-12T13:11:07.157506 #17589] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
274
- I, [2014-02-12T13:11:07.157519 #17589] INFO -- : Backend mangles: nil
275
- I, [2014-02-12T13:11:07.157547 #17589] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
276
- I, [2014-02-12T13:11:07.157565 #17589] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
277
- I, [2014-02-12T13:11:07.157578 #17589] INFO -- : Backend mangles: nil
278
- I, [2014-02-12T13:11:07.157604 #17589] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
279
- I, [2014-02-12T13:11:07.157619 #17589] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
280
- I, [2014-02-12T13:11:07.157631 #17589] INFO -- : Backend mangles: nil
281
- I, [2014-02-12T13:11:07.157738 #17589] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
282
- I, [2014-02-12T13:11:07.157753 #17589] INFO -- : with options: {}
283
- I, [2014-02-12T13:11:07.157808 #17589] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
284
- I, [2014-02-12T13:11:07.157822 #17589] INFO -- : with options: {}
285
- I, [2014-02-12T13:11:07.953904 #17589] INFO -- : 0.021ms: new Connection @5
286
- I, [2014-02-12T13:11:07.954176 #17589] INFO -- : ["0.309ms: ", "new Request @5 Host: experella.com Request Path: /"]
287
- W, [2014-02-12T13:11:07.954710 #17589] WARN -- : ["0.846ms: ", "Parser error caused by invalid request data", "@5"]
288
- I, [2014-02-12T13:11:07.954848 #17589] INFO -- : 0.986ms: on_data @5
289
- I, [2014-02-12T13:11:07.955020 #17589] INFO -- : 1.158ms: on_connect @5 experella1
290
- I, [2014-02-12T13:11:07.955098 #17589] INFO -- : ["1.235ms: ", "Client connection unbound! @5"]
291
- I, [2014-02-12T13:11:07.955251 #17589] INFO -- : 1.382ms: on_finish @5 for experella1 responded? false
292
- I, [2014-02-12T13:11:07.955295 #17589] INFO -- : 1.434ms: Request done! @5
293
- I, [2014-02-12T13:11:07.955622 #17589] INFO -- : Terminating experella-proxy
294
- I, [2014-02-12T13:11:09.760571 #17538] INFO -- : should handle pipelined requests correctly
295
- I, [2014-02-12T13:11:09.163549 #17592] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
296
- I, [2014-02-12T13:11:09.163597 #17592] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
297
- I, [2014-02-12T13:11:09.163613 #17592] INFO -- : Backend mangles: nil
298
- I, [2014-02-12T13:11:09.163644 #17592] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
299
- I, [2014-02-12T13:11:09.163662 #17592] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
300
- I, [2014-02-12T13:11:09.163674 #17592] INFO -- : Backend mangles: nil
301
- I, [2014-02-12T13:11:09.163702 #17592] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
302
- I, [2014-02-12T13:11:09.163721 #17592] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
303
- I, [2014-02-12T13:11:09.163733 #17592] INFO -- : Backend mangles: nil
304
- I, [2014-02-12T13:11:09.163760 #17592] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
305
- I, [2014-02-12T13:11:09.163775 #17592] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
306
- I, [2014-02-12T13:11:09.163787 #17592] INFO -- : Backend mangles: nil
307
- I, [2014-02-12T13:11:09.163893 #17592] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
308
- I, [2014-02-12T13:11:09.163908 #17592] INFO -- : with options: {}
309
- I, [2014-02-12T13:11:09.163964 #17592] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
310
- I, [2014-02-12T13:11:09.163978 #17592] INFO -- : with options: {}
311
- I, [2014-02-12T13:11:09.961768 #17592] INFO -- : 0.02ms: new Connection @5
312
- I, [2014-02-12T13:11:09.962353 #17592] INFO -- : ["0.619ms: ", "new Request @5 Host: experella.com Request Path: /"]
313
- I, [2014-02-12T13:11:09.962863 #17592] INFO -- : ["1.138ms: pipelined request"]
314
- I, [2014-02-12T13:11:09.962941 #17592] INFO -- : ["1.211ms: ", "new Request @5 Host: experella.com Request Path: /about/"]
315
- I, [2014-02-12T13:11:09.963138 #17592] INFO -- : ["1.414ms: pipelined request"]
316
- I, [2014-02-12T13:11:09.963205 #17592] INFO -- : ["1.479ms: ", "new Request @5 Host: experella.com Request Path: /"]
317
- I, [2014-02-12T13:11:09.963366 #17592] INFO -- : 1.641ms: on_data @5
318
- I, [2014-02-12T13:11:09.963495 #17592] INFO -- : 1.769ms: on_connect @5 experella1
319
- I, [2014-02-12T13:11:09.963798 #17592] INFO -- : 2.068ms: on_response @5 from experella1
320
- I, [2014-02-12T13:11:09.964026 #17592] INFO -- : 2.294ms: on_finish @5 for experella1 responded? true
321
- I, [2014-02-12T13:11:09.964082 #17592] INFO -- : 2.357ms: Request done! @5
322
- I, [2014-02-12T13:11:09.964394 #17592] INFO -- : 2.668ms: on_connect @5 experella2
323
- I, [2014-02-12T13:11:09.964681 #17592] INFO -- : 2.944ms: on_response @5 from experella2
324
- I, [2014-02-12T13:11:09.964916 #17592] INFO -- : 3.184ms: on_finish @5 for experella2 responded? true
325
- I, [2014-02-12T13:11:09.964964 #17592] INFO -- : 3.24ms: Request done! @5
326
- I, [2014-02-12T13:11:09.965288 #17592] INFO -- : 3.563ms: on_connect @5 experella1
327
- I, [2014-02-12T13:11:09.965576 #17592] INFO -- : 3.839ms: on_response @5 from experella1
328
- I, [2014-02-12T13:11:09.965807 #17592] INFO -- : 4.075ms: on_finish @5 for experella1 responded? true
329
- I, [2014-02-12T13:11:09.965856 #17592] INFO -- : 4.131ms: Request done! @5
330
- I, [2014-02-12T13:11:09.966067 #17592] INFO -- : ["4.339ms: ", "Client connection unbound! @5"]
331
- I, [2014-02-12T13:11:09.966277 #17592] INFO -- : Terminating experella-proxy
1
+ I, [2014-04-30T12:58:26.039507 #18545] INFO -- : should accept requests on all set proxy domains
2
+ I, [2014-04-30T12:58:25.498300 #18550] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
3
+ I, [2014-04-30T12:58:25.498348 #18550] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
4
+ I, [2014-04-30T12:58:25.498366 #18550] INFO -- : Backend mangles: nil
5
+ I, [2014-04-30T12:58:25.498395 #18550] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
6
+ I, [2014-04-30T12:58:25.498414 #18550] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
7
+ I, [2014-04-30T12:58:25.498427 #18550] INFO -- : Backend mangles: nil
8
+ I, [2014-04-30T12:58:25.498458 #18550] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
9
+ I, [2014-04-30T12:58:25.498475 #18550] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
10
+ I, [2014-04-30T12:58:25.498487 #18550] INFO -- : Backend mangles: nil
11
+ I, [2014-04-30T12:58:25.498514 #18550] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
12
+ I, [2014-04-30T12:58:25.498530 #18550] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
13
+ I, [2014-04-30T12:58:25.498542 #18550] INFO -- : Backend mangles: nil
14
+ I, [2014-04-30T12:58:25.498647 #18550] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
15
+ I, [2014-04-30T12:58:25.498663 #18550] INFO -- : with options: {}
16
+ I, [2014-04-30T12:58:25.498724 #18550] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
17
+ I, [2014-04-30T12:58:25.498739 #18550] INFO -- : with options: {}
18
+ I, [2014-04-30T12:58:28.049803 #18545] INFO -- : should reuse keep-alive connections
19
+ I, [2014-04-30T12:58:27.504574 #18554] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
20
+ I, [2014-04-30T12:58:27.504622 #18554] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
21
+ I, [2014-04-30T12:58:27.504640 #18554] INFO -- : Backend mangles: nil
22
+ I, [2014-04-30T12:58:27.504671 #18554] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
23
+ I, [2014-04-30T12:58:27.504691 #18554] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
24
+ I, [2014-04-30T12:58:27.504704 #18554] INFO -- : Backend mangles: nil
25
+ I, [2014-04-30T12:58:27.504737 #18554] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
26
+ I, [2014-04-30T12:58:27.504753 #18554] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
27
+ I, [2014-04-30T12:58:27.504766 #18554] INFO -- : Backend mangles: nil
28
+ I, [2014-04-30T12:58:27.504792 #18554] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
29
+ I, [2014-04-30T12:58:27.504808 #18554] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
30
+ I, [2014-04-30T12:58:27.504820 #18554] INFO -- : Backend mangles: nil
31
+ I, [2014-04-30T12:58:27.504926 #18554] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
32
+ I, [2014-04-30T12:58:27.504942 #18554] INFO -- : with options: {}
33
+ I, [2014-04-30T12:58:27.505002 #18554] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
34
+ I, [2014-04-30T12:58:27.505017 #18554] INFO -- : with options: {}
35
+ I, [2014-04-30T12:58:30.061412 #18545] INFO -- : should respond with 400 on malformed request
36
+ I, [2014-04-30T12:58:29.518108 #18556] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
37
+ I, [2014-04-30T12:58:29.518158 #18556] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
38
+ I, [2014-04-30T12:58:29.518174 #18556] INFO -- : Backend mangles: nil
39
+ I, [2014-04-30T12:58:29.518204 #18556] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
40
+ I, [2014-04-30T12:58:29.518225 #18556] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
41
+ I, [2014-04-30T12:58:29.518238 #18556] INFO -- : Backend mangles: nil
42
+ I, [2014-04-30T12:58:29.518272 #18556] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
43
+ I, [2014-04-30T12:58:29.518289 #18556] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
44
+ I, [2014-04-30T12:58:29.518302 #18556] INFO -- : Backend mangles: nil
45
+ I, [2014-04-30T12:58:29.518329 #18556] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
46
+ I, [2014-04-30T12:58:29.518345 #18556] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
47
+ I, [2014-04-30T12:58:29.518357 #18556] INFO -- : Backend mangles: nil
48
+ I, [2014-04-30T12:58:29.518463 #18556] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
49
+ I, [2014-04-30T12:58:29.518480 #18556] INFO -- : with options: {}
50
+ I, [2014-04-30T12:58:29.518540 #18556] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
51
+ I, [2014-04-30T12:58:29.518558 #18556] INFO -- : with options: {}
52
+ I, [2014-04-30T12:58:32.069719 #18545] INFO -- : should handle pipelined requests correctly
53
+ I, [2014-04-30T12:58:31.532367 #18559] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
54
+ I, [2014-04-30T12:58:31.532426 #18559] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
55
+ I, [2014-04-30T12:58:31.532446 #18559] INFO -- : Backend mangles: nil
56
+ I, [2014-04-30T12:58:31.532476 #18559] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
57
+ I, [2014-04-30T12:58:31.532497 #18559] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
58
+ I, [2014-04-30T12:58:31.532511 #18559] INFO -- : Backend mangles: nil
59
+ I, [2014-04-30T12:58:31.532546 #18559] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
60
+ I, [2014-04-30T12:58:31.532564 #18559] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
61
+ I, [2014-04-30T12:58:31.532576 #18559] INFO -- : Backend mangles: nil
62
+ I, [2014-04-30T12:58:31.532613 #18559] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
63
+ I, [2014-04-30T12:58:31.532630 #18559] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
64
+ I, [2014-04-30T12:58:31.532650 #18559] INFO -- : Backend mangles: nil
65
+ I, [2014-04-30T12:58:31.532769 #18559] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
66
+ I, [2014-04-30T12:58:31.532786 #18559] INFO -- : with options: {}
67
+ I, [2014-04-30T12:58:31.532852 #18559] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
68
+ I, [2014-04-30T12:58:31.532868 #18559] INFO -- : with options: {}
69
+ I, [2014-04-30T12:58:34.081817 #18545] INFO -- : should respond with 404
70
+ I, [2014-04-30T12:58:33.531500 #18563] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
71
+ I, [2014-04-30T12:58:33.531551 #18563] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
72
+ I, [2014-04-30T12:58:33.531570 #18563] INFO -- : Backend mangles: nil
73
+ I, [2014-04-30T12:58:33.531601 #18563] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
74
+ I, [2014-04-30T12:58:33.531621 #18563] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
75
+ I, [2014-04-30T12:58:33.531634 #18563] INFO -- : Backend mangles: nil
76
+ I, [2014-04-30T12:58:33.531664 #18563] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
77
+ I, [2014-04-30T12:58:33.531680 #18563] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
78
+ I, [2014-04-30T12:58:33.531693 #18563] INFO -- : Backend mangles: nil
79
+ I, [2014-04-30T12:58:33.531719 #18563] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
80
+ I, [2014-04-30T12:58:33.531735 #18563] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
81
+ I, [2014-04-30T12:58:33.531747 #18563] INFO -- : Backend mangles: nil
82
+ I, [2014-04-30T12:58:33.531884 #18563] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
83
+ I, [2014-04-30T12:58:33.531901 #18563] INFO -- : with options: {}
84
+ I, [2014-04-30T12:58:33.531972 #18563] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
85
+ I, [2014-04-30T12:58:33.531987 #18563] INFO -- : with options: {}
86
+ I, [2014-04-30T12:58:36.089537 #18545] INFO -- : should get response from the echoserver via the proxy
87
+ I, [2014-04-30T12:58:35.544162 #18566] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
88
+ I, [2014-04-30T12:58:35.544218 #18566] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
89
+ I, [2014-04-30T12:58:35.544233 #18566] INFO -- : Backend mangles: nil
90
+ I, [2014-04-30T12:58:35.544264 #18566] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
91
+ I, [2014-04-30T12:58:35.544284 #18566] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
92
+ I, [2014-04-30T12:58:35.544298 #18566] INFO -- : Backend mangles: nil
93
+ I, [2014-04-30T12:58:35.544329 #18566] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
94
+ I, [2014-04-30T12:58:35.544346 #18566] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
95
+ I, [2014-04-30T12:58:35.544359 #18566] INFO -- : Backend mangles: nil
96
+ I, [2014-04-30T12:58:35.544389 #18566] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
97
+ I, [2014-04-30T12:58:35.544405 #18566] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
98
+ I, [2014-04-30T12:58:35.544417 #18566] INFO -- : Backend mangles: nil
99
+ I, [2014-04-30T12:58:35.544565 #18566] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
100
+ I, [2014-04-30T12:58:35.544588 #18566] INFO -- : with options: {}
101
+ I, [2014-04-30T12:58:35.544651 #18566] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
102
+ I, [2014-04-30T12:58:35.544668 #18566] INFO -- : with options: {}
103
+ I, [2014-04-30T12:58:38.096372 #18545] INFO -- : should stream chunked post requests
104
+ I, [2014-04-30T12:58:37.551589 #18575] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
105
+ I, [2014-04-30T12:58:37.551638 #18575] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
106
+ I, [2014-04-30T12:58:37.551657 #18575] INFO -- : Backend mangles: nil
107
+ I, [2014-04-30T12:58:37.551687 #18575] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
108
+ I, [2014-04-30T12:58:37.551707 #18575] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
109
+ I, [2014-04-30T12:58:37.551720 #18575] INFO -- : Backend mangles: nil
110
+ I, [2014-04-30T12:58:37.551750 #18575] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
111
+ I, [2014-04-30T12:58:37.551766 #18575] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
112
+ I, [2014-04-30T12:58:37.551778 #18575] INFO -- : Backend mangles: nil
113
+ I, [2014-04-30T12:58:37.551805 #18575] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
114
+ I, [2014-04-30T12:58:37.551820 #18575] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
115
+ I, [2014-04-30T12:58:37.551832 #18575] INFO -- : Backend mangles: nil
116
+ I, [2014-04-30T12:58:37.551986 #18575] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
117
+ I, [2014-04-30T12:58:37.552002 #18575] INFO -- : with options: {}
118
+ I, [2014-04-30T12:58:37.552064 #18575] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
119
+ I, [2014-04-30T12:58:37.552079 #18575] INFO -- : with options: {}
120
+ I, [2014-04-30T12:58:40.121397 #18545] INFO -- : should respond with 503
121
+ I, [2014-04-30T12:58:39.583727 #18577] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
122
+ I, [2014-04-30T12:58:39.583783 #18577] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
123
+ I, [2014-04-30T12:58:39.583800 #18577] INFO -- : Backend mangles: nil
124
+ I, [2014-04-30T12:58:39.583830 #18577] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
125
+ I, [2014-04-30T12:58:39.583865 #18577] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
126
+ I, [2014-04-30T12:58:39.583880 #18577] INFO -- : Backend mangles: nil
127
+ I, [2014-04-30T12:58:39.583937 #18577] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
128
+ I, [2014-04-30T12:58:39.583954 #18577] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
129
+ I, [2014-04-30T12:58:39.583967 #18577] INFO -- : Backend mangles: nil
130
+ I, [2014-04-30T12:58:39.583997 #18577] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
131
+ I, [2014-04-30T12:58:39.584013 #18577] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
132
+ I, [2014-04-30T12:58:39.584025 #18577] INFO -- : Backend mangles: nil
133
+ I, [2014-04-30T12:58:39.584132 #18577] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
134
+ I, [2014-04-30T12:58:39.584147 #18577] INFO -- : with options: {}
135
+ I, [2014-04-30T12:58:39.584209 #18577] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
136
+ I, [2014-04-30T12:58:39.584226 #18577] INFO -- : with options: {}
137
+ I, [2014-04-30T12:58:42.128279 #18545] INFO -- : should timeout inactive connections after config.timeout
138
+ I, [2014-04-30T12:58:41.582371 #18586] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
139
+ I, [2014-04-30T12:58:41.582427 #18586] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
140
+ I, [2014-04-30T12:58:41.582447 #18586] INFO -- : Backend mangles: nil
141
+ I, [2014-04-30T12:58:41.582479 #18586] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
142
+ I, [2014-04-30T12:58:41.582500 #18586] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
143
+ I, [2014-04-30T12:58:41.582514 #18586] INFO -- : Backend mangles: nil
144
+ I, [2014-04-30T12:58:41.582547 #18586] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
145
+ I, [2014-04-30T12:58:41.582564 #18586] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
146
+ I, [2014-04-30T12:58:41.582577 #18586] INFO -- : Backend mangles: nil
147
+ I, [2014-04-30T12:58:41.582606 #18586] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
148
+ I, [2014-04-30T12:58:41.582622 #18586] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
149
+ I, [2014-04-30T12:58:41.582635 #18586] INFO -- : Backend mangles: nil
150
+ I, [2014-04-30T12:58:41.582750 #18586] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
151
+ I, [2014-04-30T12:58:41.582767 #18586] INFO -- : with options: {}
152
+ I, [2014-04-30T12:58:41.582832 #18586] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
153
+ I, [2014-04-30T12:58:41.582847 #18586] INFO -- : with options: {}
154
+ I, [2014-04-30T12:58:51.311484 #18545] INFO -- : should rechunk and stream Transfer-Encoding chunked responses
155
+ I, [2014-04-30T12:58:50.773657 #18592] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
156
+ I, [2014-04-30T12:58:50.773707 #18592] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
157
+ I, [2014-04-30T12:58:50.773726 #18592] INFO -- : Backend mangles: nil
158
+ I, [2014-04-30T12:58:50.773755 #18592] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
159
+ I, [2014-04-30T12:58:50.773775 #18592] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
160
+ I, [2014-04-30T12:58:50.773788 #18592] INFO -- : Backend mangles: nil
161
+ I, [2014-04-30T12:58:50.773822 #18592] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
162
+ I, [2014-04-30T12:58:50.773838 #18592] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
163
+ I, [2014-04-30T12:58:50.773850 #18592] INFO -- : Backend mangles: nil
164
+ I, [2014-04-30T12:58:50.773877 #18592] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
165
+ I, [2014-04-30T12:58:50.773892 #18592] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
166
+ I, [2014-04-30T12:58:50.773905 #18592] INFO -- : Backend mangles: nil
167
+ I, [2014-04-30T12:58:50.774016 #18592] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
168
+ I, [2014-04-30T12:58:50.774032 #18592] INFO -- : with options: {}
169
+ I, [2014-04-30T12:58:50.774094 #18592] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
170
+ I, [2014-04-30T12:58:50.774123 #18592] INFO -- : with options: {}
171
+ I, [2014-04-30T12:58:53.321117 #18545] INFO -- : should be able to handle post requests
172
+ I, [2014-04-30T12:58:52.778981 #18597] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
173
+ I, [2014-04-30T12:58:52.779031 #18597] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
174
+ I, [2014-04-30T12:58:52.779051 #18597] INFO -- : Backend mangles: nil
175
+ I, [2014-04-30T12:58:52.779082 #18597] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
176
+ I, [2014-04-30T12:58:52.779103 #18597] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
177
+ I, [2014-04-30T12:58:52.779117 #18597] INFO -- : Backend mangles: nil
178
+ I, [2014-04-30T12:58:52.779149 #18597] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
179
+ I, [2014-04-30T12:58:52.779166 #18597] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
180
+ I, [2014-04-30T12:58:52.779178 #18597] INFO -- : Backend mangles: nil
181
+ I, [2014-04-30T12:58:52.779206 #18597] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
182
+ I, [2014-04-30T12:58:52.779223 #18597] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
183
+ I, [2014-04-30T12:58:52.779236 #18597] INFO -- : Backend mangles: nil
184
+ I, [2014-04-30T12:58:52.779348 #18597] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
185
+ I, [2014-04-30T12:58:52.779364 #18597] INFO -- : with options: {}
186
+ I, [2014-04-30T12:58:52.779428 #18597] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
187
+ I, [2014-04-30T12:58:52.779444 #18597] INFO -- : with options: {}
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: experella-proxy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
9
+ - 10
10
+ version: 0.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dennis-Florian Herr
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2014-04-07 00:00:00 +02:00
18
+ date: 2014-04-30 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency