experella-proxy 0.0.11 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bc1501ac107644b8fd316bf88ffed64f00cd070d
4
+ data.tar.gz: be4da95626a59d06fb1dd63e41c3d420f2ca2847
5
+ SHA512:
6
+ metadata.gz: 2329cab1c09d03d72ca2b6f47f781c1e326b6839ca1b0f1e88f964048d608dff13e30e52d1a5880619e26866b0ee67dcc9fdf46ee57e10f0ef2fc0b1f6a509ef
7
+ data.tar.gz: ef1f2bfcc468f50d4562846987881bfd46cb479e7c01d58001e5bf5c60e8e6f8fa868aa8774a0df5dd2d5e1b386001fd40a238e1be0dcf17adc9fa5058e32fbf
data/README.md CHANGED
@@ -85,22 +85,23 @@ i.e. if you want to route an inimitable request to an unique backend, you have t
85
85
 
86
86
  ```
87
87
  backend Takes an options hash defining a backend_server
88
- required keys => :host Host address of the Server, can be IP or domain, String
89
- :port Port of the Server, Integervalue as String
88
+ required keys => :host Host address of the Server, can be IP or domain, String
89
+ :port Port of the Server, Integervalue as String
90
90
 
91
- optional keys => :name Name of the Server used in the Logger and Cashing, String
92
- Will default to #{host}:#{port} but needs to be unique, though theoretical there can be
93
- multiple servers with the same host:port value pair!
91
+ optional keys => :name Name of the Server used in the Logger and Cashing, String
92
+ Will default to #{host}:#{port} but needs to be unique, though theoretical
93
+ there can be multiple servers with the same host:port value pair!
94
94
 
95
- :concurrency max Number of concurrent connections, Integervalue as String, Default is 1
95
+ :concurrency max Number of concurrent connections, Integervalue as String, Default is 1
96
96
 
97
- :accepts Hash containing keys matching HTTP headers or URI :path, :port, :query
98
- Values are Regexp as Strings or as Regex, use ^((?!pattern).)*$ to negate matching
99
- Care: Will match any Header/value pairs not defined in the accepts Hash
97
+ :accepts Hash containing keys matching HTTP headers or URI :path, :port, :query
98
+ Values are Regexp as Strings or as Regex, use ^((?!pattern).)*$ to negate matching
99
+ Care: Will match any Header/value pairs not defined in the accepts Hash
100
+ Optionally you can provide a lambda with your own routing logic
100
101
 
101
- :mangle Hash containing keys matching HTTP headers. Values can be callable block or Strings
102
- Mangle modifies the header value based on the given block
103
- or replaces the header value with the String
102
+ :mangle Hash containing keys matching HTTP headers. Values can be callable block or Strings
103
+ Mangle modifies the header value based on the given block
104
+ or replaces the header value with the String
104
105
  ```
105
106
 
106
107
  ####Example
@@ -121,16 +122,19 @@ backend Takes an options hash defining a backend_server
121
122
  ###Logging
122
123
 
123
124
  You can set a logger but the proxy will just log some startup messages. See set_on_event how to see more.
125
+
124
126
  ```
125
- set_logger specifies the Logger used by the program. The Logger must support debug/info/warn/error/fatal functions
127
+ set_logger specifies the Logger used by the program.
128
+ The Logger must support debug/info/warn/error/fatal functions
126
129
  ```
127
130
 
128
131
  ###Events
129
132
 
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:
133
+ As a lot of things are happening in the proxy the appropriate level of logging is hard to find. So 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
134
 
132
135
  ```
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.
136
+ set_on_event specifies the event handler to be used. The handler is a lambda or Proc
137
+ accepting a Symbol (name of the event) and a hash of details.
134
138
  ```
135
139
 
136
140
  ###Proxy Server
@@ -139,7 +143,7 @@ set_on_event specifies the event handler to be used. The handler is a lambd
139
143
  set_proxy Add proxy as Hash with :host => "string-ip/domain", :port => Fixnum, :options => Hash
140
144
  The proxy will listen on every host:port hash added with this function.
141
145
  :options can activate :tls with given file paths to :private_key_file and :cert_chain_file
142
- file paths are relative to the config file directory
146
+ file paths are relative to the config file directory
143
147
  ```
144
148
  ####Example
145
149
 
data/TODO.txt CHANGED
@@ -18,3 +18,7 @@ Features:
18
18
  * detect disconnected backends
19
19
  - improve middleware support
20
20
  - SPDY
21
+
22
+ Specs:
23
+
24
+ - better http client which can send multiple headers with same name
@@ -448,7 +448,7 @@ module ExperellaProxy
448
448
  if via.nil?
449
449
  via = "1.1 experella"
450
450
  else
451
- via << "1.1 experella"
451
+ via += ", 1.1 experella"
452
452
  end
453
453
  request.update_header(:Via => via)
454
454
 
@@ -60,6 +60,8 @@ module ExperellaProxy
60
60
  #
61
61
  # Reconstructed request must be a valid request according to the HTTP Protocol
62
62
  #
63
+ # Folded/unfolded headers will go out as they came in
64
+ #
63
65
  # First Header after Startline will always be "Host: ", after that order is determined by {#header}.each
64
66
  #
65
67
  def reconstruct_header
@@ -74,16 +76,13 @@ module ExperellaProxy
74
76
  # header fields
75
77
  @header.each do |key, value|
76
78
  unless key == :http_method || key == :request_url || key == :http_version || key == :Host # exclude startline parameters
77
- @send_buffer << key.to_s + ": "
78
- if value.is_a?(Array)
79
- @send_buffer << value.shift
80
- until value.empty?
81
- @send_buffer << "," + value.shift
82
- end
83
- else
84
- @send_buffer << value
79
+ key_val = key.to_s + ": "
80
+ values = Array(value)
81
+ values.each do |val|
82
+ @send_buffer << key_val
83
+ @send_buffer << val.strip
84
+ @send_buffer << "\r\n"
85
85
  end
86
- @send_buffer << "\r\n"
87
86
  end
88
87
  end
89
88
  @send_buffer << "\r\n"
@@ -98,7 +97,7 @@ module ExperellaProxy
98
97
  #
99
98
  # @param hsh [Hash] hash with HTTP header Key:Value pairs
100
99
  def update_header(hsh)
101
- hsh = hsh.reduce({}){ |memo, (k, v)| memo[k.to_sym] = v; memo }
100
+ hsh = hsh.reduce({}) { |memo, (k, v)| memo[k.to_sym] = v; memo }
102
101
  @header.update(hsh)
103
102
  end
104
103
  end
@@ -72,6 +72,8 @@ module ExperellaProxy
72
72
  #
73
73
  # Reconstructed response must be a valid response according to the HTTP Protocol
74
74
  #
75
+ # Folded/unfolded headers will go out as they came in
76
+ #
75
77
  # Header order is determined by {#header}.each
76
78
  #
77
79
  def reconstruct_header
@@ -82,16 +84,13 @@ module ExperellaProxy
82
84
  @send_buffer << HTTP_STATUS_CODES[@status_code] + "\r\n"
83
85
  # header fields
84
86
  @header.each do |key, value|
85
- @send_buffer << key.to_s + ": "
86
- if value.is_a?(Array)
87
- @send_buffer << value.shift
88
- until value.empty?
89
- @send_buffer << "," + value.shift
90
- end
91
- else
92
- @send_buffer << value
87
+ key_val = key.to_s + ": "
88
+ values = Array(value)
89
+ values.each do |val|
90
+ @send_buffer << key_val
91
+ @send_buffer << val.strip
92
+ @send_buffer << "\r\n"
93
93
  end
94
- @send_buffer << "\r\n"
95
94
  end
96
95
  @send_buffer << "\r\n"
97
96
  # reconstruction complete
@@ -1,5 +1,9 @@
1
1
  module ExperellaProxy
2
2
  # ExperellaProxy Gemversion
3
+ # 0.0.13
4
+ # * headers are no longer folded if they came unfolded but headers stay as is
5
+ # 0.0.12.WIP
6
+ # * rubocop cleanup
3
7
  # 0.0.11
4
8
  # * output version on start
5
9
  # * rubocup config file
@@ -27,5 +31,5 @@ module ExperellaProxy
27
31
  # * added self-signed SSL certificate for TLS/HTTPS
28
32
  # * added config template init functionality
29
33
  #
30
- VERSION = "0.0.11"
34
+ VERSION = "0.0.13"
31
35
  end
@@ -88,7 +88,7 @@ describe ExperellaProxy::ConnectionManager do
88
88
  backend_queue = manager.backend_queue_count
89
89
  workload = backend.workload
90
90
  ret = manager.free_backend(backend)
91
- ret.should.nil?
91
+ ret.should be_nil
92
92
  manager.backend_queue_count.should == (backend_queue + 1)
93
93
  backend.workload.should == (workload - 1)
94
94
  end
@@ -485,5 +485,27 @@ describe ExperellaProxy do
485
485
  end
486
486
  end
487
487
 
488
+ it "appends Via header to requests" do
489
+ log.info "appends Via header to requests"
490
+ EM.epoll
491
+ EM.run do
492
+ lambda do
493
+ EventMachine.add_timer(0.2) do
494
+ http = EventMachine::HttpRequest.new("http://#{config.proxy[0][:host]}:#{config.proxy[0][:port]}"
495
+ ).get(:connect_timeout => 1, :head => { "Host" => "experella.com", "Via" => "rspec, em-http"})
496
+ http.errback {
497
+ EventMachine.stop
498
+ raise "http request failed"
499
+ }
500
+ http.callback {
501
+ http.response.should start_with "you sent: "
502
+ http.response.should include "Via: rspec, em-http, 1.1 experella"
503
+ EventMachine.stop
504
+ }
505
+ end
506
+ end.should_not raise_error
507
+ end
508
+ end
509
+
488
510
  end
489
511
  end
@@ -80,7 +80,23 @@ describe ExperellaProxy::Request do
80
80
  data = request.flush
81
81
  data.start_with?("GET /index HTTP/1.1\r\n").should be_true
82
82
  data.should include("Connection: keep-alive\r\n")
83
- data.should include("Via-X: Lukas,Amy,George\r\n")
83
+ data.should include("Via-X: Lukas\r\n")
84
+ data.should include("Via-X: Amy\r\n")
85
+ data.should include("Via-X: George\r\n")
86
+ data.end_with?("\r\n\r\n").should be_true
87
+ end
88
+
89
+ it "keeps folded/unfolded headers as is" do
90
+ request.update_header(:http_method => "GET", :request_url => "/index", "Host" => "localhost",
91
+ "Connection" => "keep-alive", "Via" => "1.1 experella1, 1.1 experella2, 1.1 experella3",
92
+ :"Via-X" => %w(Lukas Amy George))
93
+ request.reconstruct_header
94
+ data = request.flush
95
+ data.should include("1.1 experella1, 1.1 experella2, 1.1 experella3\r\n")
96
+ data.end_with?("\r\n\r\n").should be_true
97
+ data.should include("Via-X: Lukas\r\n")
98
+ data.should include("Via-X: Amy\r\n")
99
+ data.should include("Via-X: George\r\n")
84
100
  data.end_with?("\r\n\r\n").should be_true
85
101
  end
86
102
  end
@@ -36,9 +36,25 @@ describe ExperellaProxy::Response do
36
36
  data = response.flush
37
37
  data.start_with?("HTTP/1.1 500 Internal Server Error\r\n").should be_true
38
38
  data.should include("Connection: keep-alive\r\n")
39
- data.should include("Via-X: Lukas,Amy,George\r\n")
39
+ data.should include("Via-X: Lukas\r\n")
40
+ data.should include("Via-X: Amy\r\n")
41
+ data.should include("Via-X: George\r\n")
42
+ data.end_with?("\r\n\r\n").should be_true
43
+ end
44
+
45
+ it "keeps folded/unfolded headers as is" do
46
+ response.update_header("Via" => "1.1 experella1, 1.1 experella2, 1.1 experella3",
47
+ :"Via-X" => %w(Lukas Amy George))
48
+ response.reconstruct_header
49
+ data = response.flush
50
+ data.should include("1.1 experella1, 1.1 experella2, 1.1 experella3\r\n")
51
+ data.end_with?("\r\n\r\n").should be_true
52
+ data.should include("Via-X: Lukas\r\n")
53
+ data.should include("Via-X: Amy\r\n")
54
+ data.should include("Via-X: George\r\n")
40
55
  data.end_with?("\r\n\r\n").should be_true
41
56
  end
42
57
  end
43
58
 
59
+
44
60
  end
metadata CHANGED
@@ -1,312 +1,269 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: experella-proxy
3
- version: !ruby/object:Gem::Version
4
- hash: 9
5
- prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 11
10
- version: 0.0.11
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.13
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Dennis-Florian Herr
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2014-04-30 00:00:00 +02:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
11
+ date: 2014-09-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
22
14
  name: daemons
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
27
17
  - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 27
30
- segments:
31
- - 1
32
- - 1
33
- - 4
18
+ - !ruby/object:Gem::Version
34
19
  version: 1.1.4
35
20
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: eventmachine
39
21
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 1.1.4
27
+ - !ruby/object:Gem::Dependency
28
+ name: eventmachine
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
43
31
  - - ~>
44
- - !ruby/object:Gem::Version
45
- hash: 17
46
- segments:
47
- - 1
48
- - 0
49
- - 3
32
+ - !ruby/object:Gem::Version
50
33
  version: 1.0.3
51
34
  type: :runtime
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: http_parser.rb
55
35
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
59
38
  - - ~>
60
- - !ruby/object:Gem::Version
61
- hash: 13
62
- segments:
63
- - 0
64
- - 5
65
- - 3
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.3
41
+ - !ruby/object:Gem::Dependency
42
+ name: http_parser.rb
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
66
47
  version: 0.5.3
67
48
  type: :runtime
68
- version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
70
- name: rake
71
49
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
75
52
  - - ~>
76
- - !ruby/object:Gem::Version
77
- hash: 75
78
- segments:
79
- - 10
80
- - 1
81
- - 0
53
+ - !ruby/object:Gem::Version
54
+ version: 0.5.3
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
82
61
  version: 10.1.0
83
62
  type: :development
84
- version_requirements: *id004
85
- - !ruby/object:Gem::Dependency
86
- name: rspec
87
63
  prerelease: false
88
- requirement: &id005 !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - "="
92
- - !ruby/object:Gem::Version
93
- hash: 53
94
- segments:
95
- - 2
96
- - 14
97
- - 1
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 10.1.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
98
75
  version: 2.14.1
99
76
  type: :development
100
- version_requirements: *id005
101
- - !ruby/object:Gem::Dependency
102
- name: posix-spawn
103
77
  prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- hash: 3
110
- segments:
111
- - 0
112
- version: "0"
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 2.14.1
83
+ - !ruby/object:Gem::Dependency
84
+ name: posix-spawn
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
113
90
  type: :development
114
- version_requirements: *id006
115
- - !ruby/object:Gem::Dependency
116
- name: em-http-request
117
91
  prerelease: false
118
- requirement: &id007 !ruby/object:Gem::Requirement
119
- none: false
120
- requirements:
121
- - - ">="
122
- - !ruby/object:Gem::Version
123
- hash: 3
124
- segments:
125
- - 0
126
- version: "0"
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: em-http-request
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
127
104
  type: :development
128
- version_requirements: *id007
129
- - !ruby/object:Gem::Dependency
130
- name: sinatra
131
105
  prerelease: false
132
- requirement: &id008 !ruby/object:Gem::Requirement
133
- none: false
134
- requirements:
135
- - - "="
136
- - !ruby/object:Gem::Version
137
- hash: 1
138
- segments:
139
- - 1
140
- - 4
141
- - 3
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: sinatra
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
142
117
  version: 1.4.3
143
118
  type: :development
144
- version_requirements: *id008
145
- - !ruby/object:Gem::Dependency
146
- name: thin
147
119
  prerelease: false
148
- requirement: &id009 !ruby/object:Gem::Requirement
149
- none: false
150
- requirements:
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 1.4.3
125
+ - !ruby/object:Gem::Dependency
126
+ name: thin
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
151
129
  - - ~>
152
- - !ruby/object:Gem::Version
153
- hash: 1
154
- segments:
155
- - 1
156
- - 5
157
- - 1
130
+ - !ruby/object:Gem::Version
158
131
  version: 1.5.1
159
132
  type: :development
160
- version_requirements: *id009
161
- - !ruby/object:Gem::Dependency
162
- name: yard
163
133
  prerelease: false
164
- requirement: &id010 !ruby/object:Gem::Requirement
165
- none: false
166
- requirements:
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
167
136
  - - ~>
168
- - !ruby/object:Gem::Version
169
- hash: 21
170
- segments:
171
- - 0
172
- - 8
173
- - 7
174
- - 3
137
+ - !ruby/object:Gem::Version
138
+ version: 1.5.1
139
+ - !ruby/object:Gem::Dependency
140
+ name: yard
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ~>
144
+ - !ruby/object:Gem::Version
175
145
  version: 0.8.7.3
176
146
  type: :development
177
- version_requirements: *id010
178
- - !ruby/object:Gem::Dependency
179
- name: redcarpet
180
147
  prerelease: false
181
- requirement: &id011 !ruby/object:Gem::Requirement
182
- none: false
183
- requirements:
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ~>
151
+ - !ruby/object:Gem::Version
152
+ version: 0.8.7.3
153
+ - !ruby/object:Gem::Dependency
154
+ name: redcarpet
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
184
157
  - - ~>
185
- - !ruby/object:Gem::Version
186
- hash: 3
187
- segments:
188
- - 2
189
- - 3
190
- - 0
158
+ - !ruby/object:Gem::Version
191
159
  version: 2.3.0
192
160
  type: :development
193
- version_requirements: *id011
194
- - !ruby/object:Gem::Dependency
195
- name: simplecov
196
161
  prerelease: false
197
- requirement: &id012 !ruby/object:Gem::Requirement
198
- none: false
199
- requirements:
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ~>
165
+ - !ruby/object:Gem::Version
166
+ version: 2.3.0
167
+ - !ruby/object:Gem::Dependency
168
+ name: simplecov
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
200
171
  - - ~>
201
- - !ruby/object:Gem::Version
202
- hash: 1
203
- segments:
204
- - 0
205
- - 7
206
- - 1
172
+ - !ruby/object:Gem::Version
207
173
  version: 0.7.1
208
174
  type: :development
209
- version_requirements: *id012
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ~>
179
+ - !ruby/object:Gem::Version
180
+ version: 0.7.1
210
181
  description: a balancing & routing proxy, see README for more details
211
- email:
182
+ email:
212
183
  - dennis.herr@experteer.com
213
- executables:
184
+ executables:
214
185
  - experella-proxy
215
186
  extensions: []
216
-
217
- extra_rdoc_files:
187
+ extra_rdoc_files:
218
188
  - README.md
219
- files:
189
+ files:
220
190
  - bin/experella-proxy
221
191
  - dev/experella-proxy
222
- - lib/experella-proxy/connection_manager.rb
223
- - lib/experella-proxy/connection.rb
224
- - lib/experella-proxy/request.rb
225
- - lib/experella-proxy/http_status_codes.rb
226
192
  - lib/experella-proxy/server.rb
193
+ - lib/experella-proxy/http_status_codes.rb
194
+ - lib/experella-proxy/backend_server.rb
227
195
  - lib/experella-proxy/response.rb
228
196
  - lib/experella-proxy/backend.rb
197
+ - lib/experella-proxy/connection_manager.rb
198
+ - lib/experella-proxy/connection.rb
199
+ - lib/experella-proxy/version.rb
200
+ - lib/experella-proxy/request.rb
229
201
  - lib/experella-proxy/globals.rb
230
202
  - lib/experella-proxy/configuration.rb
231
203
  - lib/experella-proxy/proxy.rb
232
- - lib/experella-proxy/backend_server.rb
233
- - lib/experella-proxy/version.rb
234
204
  - lib/experella-proxy.rb
205
+ - config/default/404.html
206
+ - config/default/503.html
235
207
  - config/default/config.rb
236
208
  - config/default/ssl/private/experella-proxy.key
237
209
  - config/default/ssl/certs/experella-proxy.pem
238
- - config/default/404.html
239
- - config/default/503.html
240
- - spec/experella-proxy/backend_server_spec.rb
210
+ - spec/fixtures/404.html
211
+ - spec/fixtures/503.html
212
+ - spec/fixtures/test_config.rb
241
213
  - spec/experella-proxy/configuration_spec.rb
242
- - spec/experella-proxy/experella-proxy_spec.rb
243
214
  - spec/experella-proxy/response_spec.rb
215
+ - spec/experella-proxy/experella-proxy_spec.rb
244
216
  - spec/experella-proxy/request_spec.rb
245
217
  - spec/experella-proxy/connection_manager_spec.rb
246
- - spec/fixtures/test_config.rb
247
- - spec/fixtures/spec.log
248
- - spec/fixtures/404.html
249
- - spec/fixtures/503.html
250
- - spec/spec_helper.rb
218
+ - spec/experella-proxy/backend_server_spec.rb
251
219
  - spec/echo-server/echo_server.rb
252
- - spec/spec.log
253
- - test/sinatra/server_two.rb
254
- - test/sinatra/hello_world_server.rb
220
+ - spec/spec_helper.rb
255
221
  - test/sinatra/server_one.rb
222
+ - test/sinatra/hello_world_server.rb
223
+ - test/sinatra/server_two.rb
256
224
  - .gitignore
257
225
  - Gemfile
258
226
  - experella-proxy.gemspec
259
227
  - README.md
260
228
  - TODO.txt
261
229
  - Rakefile
262
- has_rdoc: true
263
230
  homepage: https://github.com/experteer/experella-proxy
264
- licenses:
231
+ licenses:
265
232
  - MIT
233
+ metadata: {}
266
234
  post_install_message:
267
235
  rdoc_options: []
268
-
269
- require_paths:
236
+ require_paths:
270
237
  - lib
271
- required_ruby_version: !ruby/object:Gem::Requirement
272
- none: false
273
- requirements:
274
- - - ">="
275
- - !ruby/object:Gem::Version
276
- hash: 3
277
- segments:
278
- - 0
279
- version: "0"
280
- required_rubygems_version: !ruby/object:Gem::Requirement
281
- none: false
282
- requirements:
283
- - - ">="
284
- - !ruby/object:Gem::Version
285
- hash: 3
286
- segments:
287
- - 0
288
- version: "0"
238
+ required_ruby_version: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - '>='
241
+ - !ruby/object:Gem::Version
242
+ version: '0'
243
+ required_rubygems_version: !ruby/object:Gem::Requirement
244
+ requirements:
245
+ - - '>='
246
+ - !ruby/object:Gem::Version
247
+ version: '0'
289
248
  requirements: []
290
-
291
249
  rubyforge_project:
292
- rubygems_version: 1.5.3
250
+ rubygems_version: 2.0.14
293
251
  signing_key:
294
- specification_version: 3
252
+ specification_version: 4
295
253
  summary: experella-proxy gem
296
- test_files:
297
- - spec/experella-proxy/backend_server_spec.rb
254
+ test_files:
255
+ - spec/fixtures/404.html
256
+ - spec/fixtures/503.html
257
+ - spec/fixtures/test_config.rb
298
258
  - spec/experella-proxy/configuration_spec.rb
299
- - spec/experella-proxy/experella-proxy_spec.rb
300
259
  - spec/experella-proxy/response_spec.rb
260
+ - spec/experella-proxy/experella-proxy_spec.rb
301
261
  - spec/experella-proxy/request_spec.rb
302
262
  - spec/experella-proxy/connection_manager_spec.rb
303
- - spec/fixtures/test_config.rb
304
- - spec/fixtures/spec.log
305
- - spec/fixtures/404.html
306
- - spec/fixtures/503.html
307
- - spec/spec_helper.rb
263
+ - spec/experella-proxy/backend_server_spec.rb
308
264
  - spec/echo-server/echo_server.rb
309
- - spec/spec.log
310
- - test/sinatra/server_two.rb
311
- - test/sinatra/hello_world_server.rb
265
+ - spec/spec_helper.rb
312
266
  - test/sinatra/server_one.rb
267
+ - test/sinatra/hello_world_server.rb
268
+ - test/sinatra/server_two.rb
269
+ has_rdoc:
@@ -1,187 +0,0 @@
1
- I, [2014-04-30T14:37:47.573712 #28734] INFO -- : should reuse keep-alive connections
2
- I, [2014-04-30T14:37:47.029278 #28740] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
3
- I, [2014-04-30T14:37:47.029336 #28740] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
4
- I, [2014-04-30T14:37:47.029352 #28740] INFO -- : Backend mangles: nil
5
- I, [2014-04-30T14:37:47.029383 #28740] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
6
- I, [2014-04-30T14:37:47.029400 #28740] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
7
- I, [2014-04-30T14:37:47.029413 #28740] INFO -- : Backend mangles: nil
8
- I, [2014-04-30T14:37:47.029447 #28740] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
9
- I, [2014-04-30T14:37:47.029470 #28740] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
10
- I, [2014-04-30T14:37:47.029483 #28740] INFO -- : Backend mangles: nil
11
- I, [2014-04-30T14:37:47.029511 #28740] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
12
- I, [2014-04-30T14:37:47.029526 #28740] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
13
- I, [2014-04-30T14:37:47.029539 #28740] INFO -- : Backend mangles: nil
14
- I, [2014-04-30T14:37:47.029655 #28740] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
15
- I, [2014-04-30T14:37:47.029671 #28740] INFO -- : with options: {}
16
- I, [2014-04-30T14:37:47.029733 #28740] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
17
- I, [2014-04-30T14:37:47.029748 #28740] INFO -- : with options: {}
18
- I, [2014-04-30T14:37:49.583070 #28734] INFO -- : should respond with 400 on malformed request
19
- I, [2014-04-30T14:37:49.047584 #28742] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
20
- I, [2014-04-30T14:37:49.047633 #28742] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
21
- I, [2014-04-30T14:37:49.047649 #28742] INFO -- : Backend mangles: nil
22
- I, [2014-04-30T14:37:49.047680 #28742] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
23
- I, [2014-04-30T14:37:49.047697 #28742] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
24
- I, [2014-04-30T14:37:49.047710 #28742] INFO -- : Backend mangles: nil
25
- I, [2014-04-30T14:37:49.047743 #28742] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
26
- I, [2014-04-30T14:37:49.047774 #28742] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
27
- I, [2014-04-30T14:37:49.047788 #28742] INFO -- : Backend mangles: nil
28
- I, [2014-04-30T14:37:49.047824 #28742] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
29
- I, [2014-04-30T14:37:49.047871 #28742] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
30
- I, [2014-04-30T14:37:49.047885 #28742] INFO -- : Backend mangles: nil
31
- I, [2014-04-30T14:37:49.048001 #28742] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
32
- I, [2014-04-30T14:37:49.048017 #28742] INFO -- : with options: {}
33
- I, [2014-04-30T14:37:49.048075 #28742] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
34
- I, [2014-04-30T14:37:49.048090 #28742] INFO -- : with options: {}
35
- I, [2014-04-30T14:37:51.593776 #28734] INFO -- : should get response from the echoserver via the proxy
36
- I, [2014-04-30T14:37:51.048677 #28745] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
37
- I, [2014-04-30T14:37:51.048729 #28745] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
38
- I, [2014-04-30T14:37:51.048744 #28745] INFO -- : Backend mangles: nil
39
- I, [2014-04-30T14:37:51.048774 #28745] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
40
- I, [2014-04-30T14:37:51.048791 #28745] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
41
- I, [2014-04-30T14:37:51.048804 #28745] INFO -- : Backend mangles: nil
42
- I, [2014-04-30T14:37:51.048838 #28745] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
43
- I, [2014-04-30T14:37:51.048860 #28745] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
44
- I, [2014-04-30T14:37:51.048874 #28745] INFO -- : Backend mangles: nil
45
- I, [2014-04-30T14:37:51.048902 #28745] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
46
- I, [2014-04-30T14:37:51.048917 #28745] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
47
- I, [2014-04-30T14:37:51.048930 #28745] INFO -- : Backend mangles: nil
48
- I, [2014-04-30T14:37:51.049040 #28745] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
49
- I, [2014-04-30T14:37:51.049057 #28745] INFO -- : with options: {}
50
- I, [2014-04-30T14:37:51.049116 #28745] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
51
- I, [2014-04-30T14:37:51.049131 #28745] INFO -- : with options: {}
52
- I, [2014-04-30T14:37:53.601460 #28734] INFO -- : should be able to handle post requests
53
- I, [2014-04-30T14:37:53.059325 #28750] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
54
- I, [2014-04-30T14:37:53.059375 #28750] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
55
- I, [2014-04-30T14:37:53.059391 #28750] INFO -- : Backend mangles: nil
56
- I, [2014-04-30T14:37:53.059422 #28750] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
57
- I, [2014-04-30T14:37:53.059440 #28750] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
58
- I, [2014-04-30T14:37:53.059453 #28750] INFO -- : Backend mangles: nil
59
- I, [2014-04-30T14:37:53.059486 #28750] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
60
- I, [2014-04-30T14:37:53.059509 #28750] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
61
- I, [2014-04-30T14:37:53.059523 #28750] INFO -- : Backend mangles: nil
62
- I, [2014-04-30T14:37:53.059554 #28750] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
63
- I, [2014-04-30T14:37:53.059570 #28750] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
64
- I, [2014-04-30T14:37:53.059582 #28750] INFO -- : Backend mangles: nil
65
- I, [2014-04-30T14:37:53.059696 #28750] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
66
- I, [2014-04-30T14:37:53.059712 #28750] INFO -- : with options: {}
67
- I, [2014-04-30T14:37:53.059771 #28750] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
68
- I, [2014-04-30T14:37:53.059785 #28750] INFO -- : with options: {}
69
- I, [2014-04-30T14:37:55.609122 #28734] INFO -- : should respond with 404
70
- I, [2014-04-30T14:37:55.062497 #28752] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
71
- I, [2014-04-30T14:37:55.062554 #28752] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
72
- I, [2014-04-30T14:37:55.062571 #28752] INFO -- : Backend mangles: nil
73
- I, [2014-04-30T14:37:55.062603 #28752] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
74
- I, [2014-04-30T14:37:55.062621 #28752] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
75
- I, [2014-04-30T14:37:55.062635 #28752] INFO -- : Backend mangles: nil
76
- I, [2014-04-30T14:37:55.062671 #28752] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
77
- I, [2014-04-30T14:37:55.062695 #28752] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
78
- I, [2014-04-30T14:37:55.062710 #28752] INFO -- : Backend mangles: nil
79
- I, [2014-04-30T14:37:55.062739 #28752] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
80
- I, [2014-04-30T14:37:55.062756 #28752] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
81
- I, [2014-04-30T14:37:55.062769 #28752] INFO -- : Backend mangles: nil
82
- I, [2014-04-30T14:37:55.062888 #28752] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
83
- I, [2014-04-30T14:37:55.062906 #28752] INFO -- : with options: {}
84
- I, [2014-04-30T14:37:55.062967 #28752] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
85
- I, [2014-04-30T14:37:55.062983 #28752] INFO -- : with options: {}
86
- I, [2014-04-30T14:37:57.617753 #28734] INFO -- : should rechunk and stream Transfer-Encoding chunked responses
87
- I, [2014-04-30T14:37:57.073408 #28757] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
88
- I, [2014-04-30T14:37:57.073459 #28757] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
89
- I, [2014-04-30T14:37:57.073474 #28757] INFO -- : Backend mangles: nil
90
- I, [2014-04-30T14:37:57.073505 #28757] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
91
- I, [2014-04-30T14:37:57.073522 #28757] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
92
- I, [2014-04-30T14:37:57.073549 #28757] INFO -- : Backend mangles: nil
93
- I, [2014-04-30T14:37:57.073585 #28757] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
94
- I, [2014-04-30T14:37:57.073607 #28757] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
95
- I, [2014-04-30T14:37:57.073621 #28757] INFO -- : Backend mangles: nil
96
- I, [2014-04-30T14:37:57.073649 #28757] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
97
- I, [2014-04-30T14:37:57.073664 #28757] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
98
- I, [2014-04-30T14:37:57.073677 #28757] INFO -- : Backend mangles: nil
99
- I, [2014-04-30T14:37:57.073788 #28757] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
100
- I, [2014-04-30T14:37:57.073804 #28757] INFO -- : with options: {}
101
- I, [2014-04-30T14:37:57.073864 #28757] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
102
- I, [2014-04-30T14:37:57.073879 #28757] INFO -- : with options: {}
103
- I, [2014-04-30T14:37:59.626074 #28734] INFO -- : should accept requests on all set proxy domains
104
- I, [2014-04-30T14:37:59.082580 #28760] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
105
- I, [2014-04-30T14:37:59.082632 #28760] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
106
- I, [2014-04-30T14:37:59.082649 #28760] INFO -- : Backend mangles: nil
107
- I, [2014-04-30T14:37:59.082680 #28760] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
108
- I, [2014-04-30T14:37:59.082698 #28760] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
109
- I, [2014-04-30T14:37:59.082711 #28760] INFO -- : Backend mangles: nil
110
- I, [2014-04-30T14:37:59.082747 #28760] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
111
- I, [2014-04-30T14:37:59.082770 #28760] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
112
- I, [2014-04-30T14:37:59.082784 #28760] INFO -- : Backend mangles: nil
113
- I, [2014-04-30T14:37:59.082812 #28760] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
114
- I, [2014-04-30T14:37:59.082828 #28760] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
115
- I, [2014-04-30T14:37:59.082841 #28760] INFO -- : Backend mangles: nil
116
- I, [2014-04-30T14:37:59.082956 #28760] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
117
- I, [2014-04-30T14:37:59.082972 #28760] INFO -- : with options: {}
118
- I, [2014-04-30T14:37:59.083034 #28760] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
119
- I, [2014-04-30T14:37:59.083050 #28760] INFO -- : with options: {}
120
- I, [2014-04-30T14:38:01.637772 #28734] INFO -- : should respond with 503
121
- I, [2014-04-30T14:38:01.100091 #28763] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
122
- I, [2014-04-30T14:38:01.100140 #28763] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
123
- I, [2014-04-30T14:38:01.100155 #28763] INFO -- : Backend mangles: nil
124
- I, [2014-04-30T14:38:01.100185 #28763] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
125
- I, [2014-04-30T14:38:01.100202 #28763] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
126
- I, [2014-04-30T14:38:01.100214 #28763] INFO -- : Backend mangles: nil
127
- I, [2014-04-30T14:38:01.100247 #28763] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
128
- I, [2014-04-30T14:38:01.100269 #28763] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
129
- I, [2014-04-30T14:38:01.100282 #28763] INFO -- : Backend mangles: nil
130
- I, [2014-04-30T14:38:01.100309 #28763] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
131
- I, [2014-04-30T14:38:01.100325 #28763] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
132
- I, [2014-04-30T14:38:01.100337 #28763] INFO -- : Backend mangles: nil
133
- I, [2014-04-30T14:38:01.100443 #28763] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
134
- I, [2014-04-30T14:38:01.100458 #28763] INFO -- : with options: {}
135
- I, [2014-04-30T14:38:01.100519 #28763] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
136
- I, [2014-04-30T14:38:01.100533 #28763] INFO -- : with options: {}
137
- I, [2014-04-30T14:38:03.645729 #28734] INFO -- : should handle pipelined requests correctly
138
- I, [2014-04-30T14:38:03.105831 #28771] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
139
- I, [2014-04-30T14:38:03.105880 #28771] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
140
- I, [2014-04-30T14:38:03.105896 #28771] INFO -- : Backend mangles: nil
141
- I, [2014-04-30T14:38:03.105925 #28771] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
142
- I, [2014-04-30T14:38:03.105942 #28771] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$"}
143
- I, [2014-04-30T14:38:03.105955 #28771] INFO -- : Backend mangles: nil
144
- I, [2014-04-30T14:38:03.105988 #28771] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
145
- I, [2014-04-30T14:38:03.106010 #28771] INFO -- : Backend accepts: {"Host"=>"experella", "request_url"=>"/(oneroute|anotherpath)($|/)"}
146
- I, [2014-04-30T14:38:03.106023 #28771] INFO -- : Backend mangles: nil
147
- I, [2014-04-30T14:38:03.106050 #28771] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
148
- I, [2014-04-30T14:38:03.106066 #28771] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
149
- I, [2014-04-30T14:38:03.106078 #28771] INFO -- : Backend mangles: nil
150
- I, [2014-04-30T14:38:03.106186 #28771] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
151
- I, [2014-04-30T14:38:03.106202 #28771] INFO -- : with options: {}
152
- I, [2014-04-30T14:38:03.106260 #28771] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
153
- I, [2014-04-30T14:38:03.106275 #28771] INFO -- : with options: {}
154
- I, [2014-04-30T14:38:05.657744 #28734] INFO -- : should stream chunked post requests
155
- I, [2014-04-30T14:38:05.114588 #28773] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
156
- I, [2014-04-30T14:38:05.114637 #28773] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
157
- I, [2014-04-30T14:38:05.114652 #28773] INFO -- : Backend mangles: nil
158
- I, [2014-04-30T14:38:05.114683 #28773] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
159
- I, [2014-04-30T14:38:05.114700 #28773] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
160
- I, [2014-04-30T14:38:05.114713 #28773] INFO -- : Backend mangles: nil
161
- I, [2014-04-30T14:38:05.114746 #28773] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
162
- I, [2014-04-30T14:38:05.114768 #28773] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
163
- I, [2014-04-30T14:38:05.114781 #28773] INFO -- : Backend mangles: nil
164
- I, [2014-04-30T14:38:05.114809 #28773] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
165
- I, [2014-04-30T14:38:05.114825 #28773] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
166
- I, [2014-04-30T14:38:05.114837 #28773] INFO -- : Backend mangles: nil
167
- I, [2014-04-30T14:38:05.114943 #28773] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
168
- I, [2014-04-30T14:38:05.114959 #28773] INFO -- : with options: {}
169
- I, [2014-04-30T14:38:05.115018 #28773] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
170
- I, [2014-04-30T14:38:05.115032 #28773] INFO -- : with options: {}
171
- I, [2014-04-30T14:38:07.677676 #28734] INFO -- : should timeout inactive connections after config.timeout
172
- I, [2014-04-30T14:38:07.135546 #28778] INFO -- : Initializing backend experella1 at 127.0.0.10:7654 with concurrency 1
173
- I, [2014-04-30T14:38:07.135597 #28778] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
174
- I, [2014-04-30T14:38:07.135614 #28778] INFO -- : Backend mangles: nil
175
- I, [2014-04-30T14:38:07.135646 #28778] INFO -- : Initializing backend experella2 at 127.0.0.10:7654 with concurrency 2
176
- I, [2014-04-30T14:38:07.135664 #28778] INFO -- : Backend accepts: {"request_url"=>"^((?!/(oneroute|anotherpath)($|/)).)*$", "Host"=>"experella"}
177
- I, [2014-04-30T14:38:07.135677 #28778] INFO -- : Backend mangles: nil
178
- I, [2014-04-30T14:38:07.135716 #28778] INFO -- : Initializing backend exp proxy at 127.0.0.11:7655 with concurrency 1
179
- I, [2014-04-30T14:38:07.135739 #28778] INFO -- : Backend accepts: {"request_url"=>"/(oneroute|anotherpath)($|/)", "Host"=>"experella"}
180
- I, [2014-04-30T14:38:07.135753 #28778] INFO -- : Backend mangles: nil
181
- I, [2014-04-30T14:38:07.135782 #28778] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
182
- I, [2014-04-30T14:38:07.135798 #28778] INFO -- : Backend accepts: {"Host"=>"^((?!(experella|127)).)*$"}
183
- I, [2014-04-30T14:38:07.135811 #28778] INFO -- : Backend mangles: nil
184
- I, [2014-04-30T14:38:07.135928 #28778] INFO -- : Launching experella-proxy at 127.0.0.1:6896 with 6.0s timeout...
185
- I, [2014-04-30T14:38:07.135945 #28778] INFO -- : with options: {}
186
- I, [2014-04-30T14:38:07.136006 #28778] INFO -- : Launching experella-proxy at 127.0.0.2:7315 with 6.0s timeout...
187
- I, [2014-04-30T14:38:07.136021 #28778] INFO -- : with options: {}
data/spec/spec.log DELETED
@@ -1,235 +0,0 @@
1
- I, [2013-12-18T10:59:08.551887 #22192] INFO -- : should be able to handle post requests
2
- I, [2013-12-18T10:59:08.144205 #22194] INFO -- : Initializing backend PJPP at 127.0.0.10:7654 with concurrency 1
3
- I, [2013-12-18T10:59:08.144255 #22194] INFO -- : Backend accepts: {"request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$", "Host"=>"experteer"}
4
- I, [2013-12-18T10:59:08.144273 #22194] INFO -- : Backend mangles: nil
5
- I, [2013-12-18T10:59:08.144303 #22194] INFO -- : Initializing backend PJPP2 at 127.0.0.10:7654 with concurrency 2
6
- I, [2013-12-18T10:59:08.144321 #22194] INFO -- : Backend accepts: {"request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$", "Host"=>"experteer"}
7
- I, [2013-12-18T10:59:08.144335 #22194] INFO -- : Backend mangles: nil
8
- I, [2013-12-18T10:59:08.144361 #22194] INFO -- : Initializing backend Job catalog at 127.0.0.11:7655 with concurrency 1
9
- I, [2013-12-18T10:59:08.144380 #22194] INFO -- : Backend accepts: {"request_url"=>"/(jobboerse|stellenangebote)($|/)", "Host"=>"experteer"}
10
- I, [2013-12-18T10:59:08.144393 #22194] INFO -- : Backend mangles: nil
11
- I, [2013-12-18T10:59:08.144418 #22194] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
12
- I, [2013-12-18T10:59:08.144434 #22194] INFO -- : Backend accepts: {"Host"=>"^((?!(experteer|127)).)*$"}
13
- I, [2013-12-18T10:59:08.144448 #22194] INFO -- : Backend mangles: nil
14
- I, [2013-12-18T10:59:08.144564 #22194] INFO -- : Launching experella-proxy at 127.0.0.1:4000 with 6.0s timeout...
15
- I, [2013-12-18T10:59:08.144627 #22194] INFO -- : Launching experella-proxy at 127.0.0.2:8000 with 6.0s timeout...
16
- I, [2013-12-18T10:59:08.754015 #22194] INFO -- : 0.018ms: new Connection @5
17
- I, [2013-12-18T10:59:08.754482 #22194] INFO -- : 0.498ms: new Request @5 experteer.com//
18
- I, [2013-12-18T10:59:08.755109 #22194] INFO -- : 1.128ms: on_data @5
19
- I, [2013-12-18T10:59:08.755253 #22194] INFO -- : 1.274ms: on_connect @5 PJPP
20
- I, [2013-12-18T10:59:08.755558 #22194] INFO -- : 1.566ms: on_response @5 from PJPP
21
- I, [2013-12-18T10:59:08.755732 #22194] INFO -- : 1.748ms: on_finish @5 for PJPP responded? true
22
- I, [2013-12-18T10:59:08.755790 #22194] INFO -- : 1.812ms: Request done! @5
23
- I, [2013-12-18T10:59:08.756099 #22194] INFO -- : 2.123ms: Connection done! @5
24
- I, [2013-12-18T10:59:08.756953 #22194] INFO -- : Terminating experella-proxy
25
- I, [2013-12-18T10:59:10.263230 #22192] INFO -- : should accept requests on all set proxy domains
26
- I, [2013-12-18T10:59:09.857314 #22196] INFO -- : Initializing backend PJPP at 127.0.0.10:7654 with concurrency 1
27
- I, [2013-12-18T10:59:09.857366 #22196] INFO -- : Backend accepts: {"request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$", "Host"=>"experteer"}
28
- I, [2013-12-18T10:59:09.857384 #22196] INFO -- : Backend mangles: nil
29
- I, [2013-12-18T10:59:09.857412 #22196] INFO -- : Initializing backend PJPP2 at 127.0.0.10:7654 with concurrency 2
30
- I, [2013-12-18T10:59:09.857433 #22196] INFO -- : Backend accepts: {"request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$", "Host"=>"experteer"}
31
- I, [2013-12-18T10:59:09.857446 #22196] INFO -- : Backend mangles: nil
32
- I, [2013-12-18T10:59:09.857473 #22196] INFO -- : Initializing backend Job catalog at 127.0.0.11:7655 with concurrency 1
33
- I, [2013-12-18T10:59:09.857491 #22196] INFO -- : Backend accepts: {"request_url"=>"/(jobboerse|stellenangebote)($|/)", "Host"=>"experteer"}
34
- I, [2013-12-18T10:59:09.857505 #22196] INFO -- : Backend mangles: nil
35
- I, [2013-12-18T10:59:09.857527 #22196] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
36
- I, [2013-12-18T10:59:09.857545 #22196] INFO -- : Backend accepts: {"Host"=>"^((?!(experteer|127)).)*$"}
37
- I, [2013-12-18T10:59:09.857558 #22196] INFO -- : Backend mangles: nil
38
- I, [2013-12-18T10:59:09.857672 #22196] INFO -- : Launching experella-proxy at 127.0.0.1:4000 with 6.0s timeout...
39
- I, [2013-12-18T10:59:09.857737 #22196] INFO -- : Launching experella-proxy at 127.0.0.2:8000 with 6.0s timeout...
40
- I, [2013-12-18T10:59:10.464400 #22196] INFO -- : 0.017ms: new Connection @5
41
- I, [2013-12-18T10:59:10.464752 #22196] INFO -- : 0.016ms: new Connection @7
42
- I, [2013-12-18T10:59:10.465309 #22196] INFO -- : 0.935ms: new Request @5 experteer.com//
43
- I, [2013-12-18T10:59:10.465864 #22196] INFO -- : 1.495ms: on_data @5
44
- I, [2013-12-18T10:59:10.466155 #22196] INFO -- : 1.425ms: new Request @7 experteer.com//
45
- I, [2013-12-18T10:59:10.466630 #22196] INFO -- : 1.901ms: on_data @7
46
- I, [2013-12-18T10:59:10.466759 #22196] INFO -- : 2.393ms: on_connect @5 PJPP
47
- I, [2013-12-18T10:59:10.466851 #22196] INFO -- : 2.124ms: on_connect @7 PJPP2
48
- I, [2013-12-18T10:59:10.467179 #22196] INFO -- : 2.799ms: on_response @5 from PJPP
49
- I, [2013-12-18T10:59:10.467293 #22196] INFO -- : 2.565ms: on_response @7 from PJPP2
50
- I, [2013-12-18T10:59:10.467453 #22196] INFO -- : 3.081ms: on_finish @5 for PJPP responded? true
51
- I, [2013-12-18T10:59:10.467508 #22196] INFO -- : 3.143ms: Request done! @5
52
- I, [2013-12-18T10:59:10.467776 #22196] INFO -- : 3.044ms: on_finish @7 for PJPP2 responded? true
53
- I, [2013-12-18T10:59:10.467826 #22196] INFO -- : 3.1ms: Request done! @7
54
- I, [2013-12-18T10:59:10.468063 #22196] INFO -- : Terminating experella-proxy
55
- I, [2013-12-18T10:59:10.468162 #22196] INFO -- : 3.798ms: Connection done! @5
56
- I, [2013-12-18T10:59:10.468260 #22196] INFO -- : 3.535ms: Connection done! @7
57
- I, [2013-12-18T10:59:11.971330 #22192] INFO -- : should handle pipelined requests correctly
58
- I, [2013-12-18T10:59:11.562111 #22198] INFO -- : Initializing backend PJPP at 127.0.0.10:7654 with concurrency 1
59
- I, [2013-12-18T10:59:11.562164 #22198] INFO -- : Backend accepts: {"request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$", "Host"=>"experteer"}
60
- I, [2013-12-18T10:59:11.562181 #22198] INFO -- : Backend mangles: nil
61
- I, [2013-12-18T10:59:11.562211 #22198] INFO -- : Initializing backend PJPP2 at 127.0.0.10:7654 with concurrency 2
62
- I, [2013-12-18T10:59:11.562229 #22198] INFO -- : Backend accepts: {"request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$", "Host"=>"experteer"}
63
- I, [2013-12-18T10:59:11.562257 #22198] INFO -- : Backend mangles: nil
64
- I, [2013-12-18T10:59:11.562295 #22198] INFO -- : Initializing backend Job catalog at 127.0.0.11:7655 with concurrency 1
65
- I, [2013-12-18T10:59:11.562313 #22198] INFO -- : Backend accepts: {"request_url"=>"/(jobboerse|stellenangebote)($|/)", "Host"=>"experteer"}
66
- I, [2013-12-18T10:59:11.562326 #22198] INFO -- : Backend mangles: nil
67
- I, [2013-12-18T10:59:11.562350 #22198] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
68
- I, [2013-12-18T10:59:11.562366 #22198] INFO -- : Backend accepts: {"Host"=>"^((?!(experteer|127)).)*$"}
69
- I, [2013-12-18T10:59:11.562379 #22198] INFO -- : Backend mangles: nil
70
- I, [2013-12-18T10:59:11.562495 #22198] INFO -- : Launching experella-proxy at 127.0.0.1:4000 with 6.0s timeout...
71
- I, [2013-12-18T10:59:11.562557 #22198] INFO -- : Launching experella-proxy at 127.0.0.2:8000 with 6.0s timeout...
72
- I, [2013-12-18T10:59:12.172497 #22198] INFO -- : 0.019ms: new Connection @5
73
- I, [2013-12-18T10:59:12.173302 #22198] INFO -- : 0.832ms: new Request @5 experteer.com//
74
- I, [2013-12-18T10:59:12.173883 #22198] INFO -- : ["1.422ms: pipelined request"]
75
- I, [2013-12-18T10:59:12.174178 #22198] INFO -- : 1.715ms: new Request @5 experteer.com//about/
76
- I, [2013-12-18T10:59:12.174532 #22198] INFO -- : ["2.072ms: pipelined request"]
77
- I, [2013-12-18T10:59:12.174909 #22198] INFO -- : 2.445ms: new Request @5 experteer.com//
78
- I, [2013-12-18T10:59:12.175269 #22198] INFO -- : 2.807ms: on_data @5
79
- I, [2013-12-18T10:59:12.175416 #22198] INFO -- : 2.955ms: on_connect @5 PJPP
80
- I, [2013-12-18T10:59:12.175725 #22198] INFO -- : 3.252ms: on_response @5 from PJPP
81
- I, [2013-12-18T10:59:12.175926 #22198] INFO -- : 3.46ms: on_finish @5 for PJPP responded? true
82
- I, [2013-12-18T10:59:12.175978 #22198] INFO -- : 3.518ms: Request done! @5
83
- I, [2013-12-18T10:59:12.176521 #22198] INFO -- : 4.06ms: on_connect @5 PJPP2
84
- I, [2013-12-18T10:59:12.176800 #22198] INFO -- : 4.327ms: on_response @5 from PJPP2
85
- I, [2013-12-18T10:59:12.176978 #22198] INFO -- : 4.512ms: on_finish @5 for PJPP2 responded? true
86
- I, [2013-12-18T10:59:12.177034 #22198] INFO -- : 4.569ms: Request done! @5
87
- I, [2013-12-18T10:59:12.177495 #22198] INFO -- : 5.034ms: on_connect @5 PJPP
88
- I, [2013-12-18T10:59:12.177783 #22198] INFO -- : 5.31ms: on_response @5 from PJPP
89
- I, [2013-12-18T10:59:12.177951 #22198] INFO -- : 5.481ms: on_finish @5 for PJPP responded? true
90
- I, [2013-12-18T10:59:12.178001 #22198] INFO -- : 5.542ms: Request done! @5
91
- I, [2013-12-18T10:59:12.178316 #22198] INFO -- : 5.856ms: Connection done! @5
92
- I, [2013-12-18T10:59:12.268540 #22198] INFO -- : Terminating experella-proxy
93
- I, [2013-12-18T10:59:13.683917 #22192] INFO -- : should timeout inactive connections after config.timeout
94
- I, [2013-12-18T10:59:13.279151 #22200] INFO -- : Initializing backend PJPP at 127.0.0.10:7654 with concurrency 1
95
- I, [2013-12-18T10:59:13.279203 #22200] INFO -- : Backend accepts: {"request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$", "Host"=>"experteer"}
96
- I, [2013-12-18T10:59:13.279220 #22200] INFO -- : Backend mangles: nil
97
- I, [2013-12-18T10:59:13.279250 #22200] INFO -- : Initializing backend PJPP2 at 127.0.0.10:7654 with concurrency 2
98
- I, [2013-12-18T10:59:13.279268 #22200] INFO -- : Backend accepts: {"request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$", "Host"=>"experteer"}
99
- I, [2013-12-18T10:59:13.279282 #22200] INFO -- : Backend mangles: nil
100
- I, [2013-12-18T10:59:13.279310 #22200] INFO -- : Initializing backend Job catalog at 127.0.0.11:7655 with concurrency 1
101
- I, [2013-12-18T10:59:13.279328 #22200] INFO -- : Backend accepts: {"request_url"=>"/(jobboerse|stellenangebote)($|/)", "Host"=>"experteer"}
102
- I, [2013-12-18T10:59:13.279342 #22200] INFO -- : Backend mangles: nil
103
- I, [2013-12-18T10:59:13.279364 #22200] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
104
- I, [2013-12-18T10:59:13.279381 #22200] INFO -- : Backend accepts: {"Host"=>"^((?!(experteer|127)).)*$"}
105
- I, [2013-12-18T10:59:13.279394 #22200] INFO -- : Backend mangles: nil
106
- I, [2013-12-18T10:59:13.279509 #22200] INFO -- : Launching experella-proxy at 127.0.0.1:4000 with 6.0s timeout...
107
- I, [2013-12-18T10:59:13.279571 #22200] INFO -- : Launching experella-proxy at 127.0.0.2:8000 with 6.0s timeout...
108
- I, [2013-12-18T10:59:13.885109 #22200] INFO -- : 0.021ms: new Connection @5
109
- I, [2013-12-18T10:59:13.885495 #22200] INFO -- : 0.423ms: new Request @5 experteer.com//
110
- I, [2013-12-18T10:59:13.886080 #22200] INFO -- : 1.011ms: on_data @5
111
- I, [2013-12-18T10:59:13.886230 #22200] INFO -- : 1.163ms: on_connect @5 PJPP
112
- I, [2013-12-18T10:59:13.886577 #22200] INFO -- : 1.497ms: on_response @5 from PJPP
113
- I, [2013-12-18T10:59:13.886771 #22200] INFO -- : 1.698ms: on_finish @5 for PJPP responded? true
114
- I, [2013-12-18T10:59:13.886821 #22200] INFO -- : 1.756ms: Request done! @5
115
- I, [2013-12-18T10:59:19.891453 #22200] INFO -- : ["6006.361ms: ", :unbind_client, :timeout, "@5"]
116
- I, [2013-12-18T10:59:19.891695 #22200] INFO -- : 6006.627ms: Connection done! @5
117
- I, [2013-12-18T10:59:21.063874 #22200] INFO -- : Terminating experella-proxy
118
- I, [2013-12-18T10:59:22.567132 #22192] INFO -- : should respond with 404
119
- I, [2013-12-18T10:59:22.162703 #22204] INFO -- : Initializing backend PJPP at 127.0.0.10:7654 with concurrency 1
120
- I, [2013-12-18T10:59:22.162756 #22204] INFO -- : Backend accepts: {"Host"=>"experteer", "request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$"}
121
- I, [2013-12-18T10:59:22.162773 #22204] INFO -- : Backend mangles: nil
122
- I, [2013-12-18T10:59:22.162803 #22204] INFO -- : Initializing backend PJPP2 at 127.0.0.10:7654 with concurrency 2
123
- I, [2013-12-18T10:59:22.162823 #22204] INFO -- : Backend accepts: {"Host"=>"experteer", "request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$"}
124
- I, [2013-12-18T10:59:22.162837 #22204] INFO -- : Backend mangles: nil
125
- I, [2013-12-18T10:59:22.162864 #22204] INFO -- : Initializing backend Job catalog at 127.0.0.11:7655 with concurrency 1
126
- I, [2013-12-18T10:59:22.162883 #22204] INFO -- : Backend accepts: {"Host"=>"experteer", "request_url"=>"/(jobboerse|stellenangebote)($|/)"}
127
- I, [2013-12-18T10:59:22.162897 #22204] INFO -- : Backend mangles: nil
128
- I, [2013-12-18T10:59:22.162920 #22204] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
129
- I, [2013-12-18T10:59:22.162937 #22204] INFO -- : Backend accepts: {"Host"=>"^((?!(experteer|127)).)*$"}
130
- I, [2013-12-18T10:59:22.162951 #22204] INFO -- : Backend mangles: nil
131
- I, [2013-12-18T10:59:22.163066 #22204] INFO -- : Launching experella-proxy at 127.0.0.1:4000 with 6.0s timeout...
132
- I, [2013-12-18T10:59:22.163131 #22204] INFO -- : Launching experella-proxy at 127.0.0.2:8000 with 6.0s timeout...
133
- I, [2013-12-18T10:59:22.768285 #22204] INFO -- : 0.02ms: new Connection @5
134
- I, [2013-12-18T10:59:22.768537 #22204] INFO -- : 0.012ms: new Connection @7
135
- I, [2013-12-18T10:59:22.769114 #22204] INFO -- : 0.864ms: new Request @5 127.0.0.1:4000//
136
- E, [2013-12-18T10:59:22.769420 #22204] ERROR -- : 1.174ms: Error, send client error message and unbind! No backend will match
137
- E, [2013-12-18T10:59:22.769484 #22204] ERROR -- : ["1.241ms: ", :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>"]
138
- I, [2013-12-18T10:59:22.769721 #22204] INFO -- : 1.475ms: on_data @5
139
- I, [2013-12-18T10:59:22.769959 #22204] INFO -- : 1.437ms: new Request @7 127.0.0.1:4000//
140
- E, [2013-12-18T10:59:22.770178 #22204] ERROR -- : 1.657ms: Error, send client error message and unbind! No backend will match
141
- E, [2013-12-18T10:59:22.770227 #22204] ERROR -- : ["1.709ms: ", :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"]
142
- I, [2013-12-18T10:59:22.770433 #22204] INFO -- : 1.913ms: on_data @7
143
- I, [2013-12-18T10:59:22.770611 #22204] INFO -- : 2.369ms: Connection done! @5
144
- I, [2013-12-18T10:59:22.770802 #22204] INFO -- : 2.284ms: Connection done! @7
145
- I, [2013-12-18T10:59:22.771255 #22204] INFO -- : Terminating experella-proxy
146
- I, [2013-12-18T10:59:24.274541 #22192] INFO -- : should get response from the echoserver via the proxy
147
- I, [2013-12-18T10:59:23.867274 #22206] INFO -- : Initializing backend PJPP at 127.0.0.10:7654 with concurrency 1
148
- I, [2013-12-18T10:59:23.867327 #22206] INFO -- : Backend accepts: {"request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$", "Host"=>"experteer"}
149
- I, [2013-12-18T10:59:23.867344 #22206] INFO -- : Backend mangles: nil
150
- I, [2013-12-18T10:59:23.867373 #22206] INFO -- : Initializing backend PJPP2 at 127.0.0.10:7654 with concurrency 2
151
- I, [2013-12-18T10:59:23.867391 #22206] INFO -- : Backend accepts: {"request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$", "Host"=>"experteer"}
152
- I, [2013-12-18T10:59:23.867404 #22206] INFO -- : Backend mangles: nil
153
- I, [2013-12-18T10:59:23.867432 #22206] INFO -- : Initializing backend Job catalog at 127.0.0.11:7655 with concurrency 1
154
- I, [2013-12-18T10:59:23.867449 #22206] INFO -- : Backend accepts: {"request_url"=>"/(jobboerse|stellenangebote)($|/)", "Host"=>"experteer"}
155
- I, [2013-12-18T10:59:23.867463 #22206] INFO -- : Backend mangles: nil
156
- I, [2013-12-18T10:59:23.867487 #22206] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
157
- I, [2013-12-18T10:59:23.867503 #22206] INFO -- : Backend accepts: {"Host"=>"^((?!(experteer|127)).)*$"}
158
- I, [2013-12-18T10:59:23.867516 #22206] INFO -- : Backend mangles: nil
159
- I, [2013-12-18T10:59:23.867635 #22206] INFO -- : Launching experella-proxy at 127.0.0.1:4000 with 6.0s timeout...
160
- I, [2013-12-18T10:59:23.867698 #22206] INFO -- : Launching experella-proxy at 127.0.0.2:8000 with 6.0s timeout...
161
- I, [2013-12-18T10:59:24.475699 #22206] INFO -- : 0.018ms: new Connection @5
162
- I, [2013-12-18T10:59:24.476081 #22206] INFO -- : 0.414ms: new Request @5 experteer.com//
163
- I, [2013-12-18T10:59:24.476635 #22206] INFO -- : 0.971ms: on_data @5
164
- I, [2013-12-18T10:59:24.476786 #22206] INFO -- : 1.123ms: on_connect @5 PJPP
165
- I, [2013-12-18T10:59:24.477070 #22206] INFO -- : 1.395ms: on_response @5 from PJPP
166
- I, [2013-12-18T10:59:24.477244 #22206] INFO -- : 1.576ms: on_finish @5 for PJPP responded? true
167
- I, [2013-12-18T10:59:24.477294 #22206] INFO -- : 1.633ms: Request done! @5
168
- I, [2013-12-18T10:59:24.477607 #22206] INFO -- : 1.947ms: Connection done! @5
169
- I, [2013-12-18T10:59:24.477700 #22206] INFO -- : Terminating experella-proxy
170
- I, [2013-12-18T10:59:25.981016 #22192] INFO -- : should reuse keep-alive connections
171
- I, [2013-12-18T10:59:25.577756 #22208] INFO -- : Initializing backend PJPP at 127.0.0.10:7654 with concurrency 1
172
- I, [2013-12-18T10:59:25.577805 #22208] INFO -- : Backend accepts: {"Host"=>"experteer", "request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$"}
173
- I, [2013-12-18T10:59:25.577822 #22208] INFO -- : Backend mangles: nil
174
- I, [2013-12-18T10:59:25.577851 #22208] INFO -- : Initializing backend PJPP2 at 127.0.0.10:7654 with concurrency 2
175
- I, [2013-12-18T10:59:25.577870 #22208] INFO -- : Backend accepts: {"Host"=>"experteer", "request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$"}
176
- I, [2013-12-18T10:59:25.577884 #22208] INFO -- : Backend mangles: nil
177
- I, [2013-12-18T10:59:25.577912 #22208] INFO -- : Initializing backend Job catalog at 127.0.0.11:7655 with concurrency 1
178
- I, [2013-12-18T10:59:25.577929 #22208] INFO -- : Backend accepts: {"Host"=>"experteer", "request_url"=>"/(jobboerse|stellenangebote)($|/)"}
179
- I, [2013-12-18T10:59:25.577943 #22208] INFO -- : Backend mangles: nil
180
- I, [2013-12-18T10:59:25.577967 #22208] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
181
- I, [2013-12-18T10:59:25.577983 #22208] INFO -- : Backend accepts: {"Host"=>"^((?!(experteer|127)).)*$"}
182
- I, [2013-12-18T10:59:25.577997 #22208] INFO -- : Backend mangles: nil
183
- I, [2013-12-18T10:59:25.578111 #22208] INFO -- : Launching experella-proxy at 127.0.0.1:4000 with 6.0s timeout...
184
- I, [2013-12-18T10:59:25.578174 #22208] INFO -- : Launching experella-proxy at 127.0.0.2:8000 with 6.0s timeout...
185
- I, [2013-12-18T10:59:26.182187 #22208] INFO -- : 0.02ms: new Connection @5
186
- I, [2013-12-18T10:59:26.182583 #22208] INFO -- : 0.43ms: new Request @5 experteer.com//
187
- I, [2013-12-18T10:59:26.183141 #22208] INFO -- : 0.993ms: on_data @5
188
- I, [2013-12-18T10:59:26.183292 #22208] INFO -- : 1.143ms: on_connect @5 PJPP
189
- I, [2013-12-18T10:59:26.183596 #22208] INFO -- : 1.437ms: on_response @5 from PJPP
190
- I, [2013-12-18T10:59:26.183791 #22208] INFO -- : 1.64ms: on_finish @5 for PJPP responded? true
191
- I, [2013-12-18T10:59:26.183842 #22208] INFO -- : 1.698ms: Request done! @5
192
- I, [2013-12-18T10:59:26.184526 #22208] INFO -- : 2.378ms: new Request @5 experteer.com//about/
193
- I, [2013-12-18T10:59:26.184991 #22208] INFO -- : 2.845ms: on_data @5
194
- I, [2013-12-18T10:59:26.185110 #22208] INFO -- : 2.965ms: on_connect @5 PJPP2
195
- I, [2013-12-18T10:59:26.185368 #22208] INFO -- : 3.21ms: on_response @5 from PJPP2
196
- I, [2013-12-18T10:59:26.185541 #22208] INFO -- : 3.392ms: on_finish @5 for PJPP2 responded? true
197
- I, [2013-12-18T10:59:26.185592 #22208] INFO -- : 3.447ms: Request done! @5
198
- I, [2013-12-18T10:59:26.186269 #22208] INFO -- : 4.119ms: new Request @5 experteer.com//
199
- I, [2013-12-18T10:59:26.186751 #22208] INFO -- : 4.605ms: on_data @5
200
- I, [2013-12-18T10:59:26.186869 #22208] INFO -- : 4.724ms: on_connect @5 PJPP
201
- I, [2013-12-18T10:59:26.187131 #22208] INFO -- : 4.972ms: on_response @5 from PJPP
202
- I, [2013-12-18T10:59:26.187287 #22208] INFO -- : 5.137ms: on_finish @5 for PJPP responded? true
203
- I, [2013-12-18T10:59:26.187335 #22208] INFO -- : 5.191ms: Request done! @5
204
- I, [2013-12-18T10:59:26.187627 #22208] INFO -- : 5.483ms: Connection done! @5
205
- I, [2013-12-18T10:59:26.277858 #22208] INFO -- : Terminating experella-proxy
206
- I, [2013-12-18T10:59:27.691888 #22192] INFO -- : should respond with 503
207
- I, [2013-12-18T10:59:27.290523 #22210] INFO -- : Initializing backend PJPP at 127.0.0.10:7654 with concurrency 1
208
- I, [2013-12-18T10:59:27.290574 #22210] INFO -- : Backend accepts: {"Host"=>"experteer", "request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$"}
209
- I, [2013-12-18T10:59:27.290592 #22210] INFO -- : Backend mangles: nil
210
- I, [2013-12-18T10:59:27.290621 #22210] INFO -- : Initializing backend PJPP2 at 127.0.0.10:7654 with concurrency 2
211
- I, [2013-12-18T10:59:27.290639 #22210] INFO -- : Backend accepts: {"Host"=>"experteer", "request_url"=>"^((?!/(jobboerse|stellenangebote)($|/)).)*$"}
212
- I, [2013-12-18T10:59:27.290653 #22210] INFO -- : Backend mangles: nil
213
- I, [2013-12-18T10:59:27.290680 #22210] INFO -- : Initializing backend Job catalog at 127.0.0.11:7655 with concurrency 1
214
- I, [2013-12-18T10:59:27.290698 #22210] INFO -- : Backend accepts: {"Host"=>"experteer", "request_url"=>"/(jobboerse|stellenangebote)($|/)"}
215
- I, [2013-12-18T10:59:27.290712 #22210] INFO -- : Backend mangles: nil
216
- I, [2013-12-18T10:59:27.290734 #22210] INFO -- : Initializing backend web at 0.0.0.0:80 with concurrency 1000
217
- I, [2013-12-18T10:59:27.290752 #22210] INFO -- : Backend accepts: {"Host"=>"^((?!(experteer|127)).)*$"}
218
- I, [2013-12-18T10:59:27.290765 #22210] INFO -- : Backend mangles: nil
219
- I, [2013-12-18T10:59:27.290881 #22210] INFO -- : Launching experella-proxy at 127.0.0.1:4000 with 6.0s timeout...
220
- I, [2013-12-18T10:59:27.290945 #22210] INFO -- : Launching experella-proxy at 127.0.0.2:8000 with 6.0s timeout...
221
- I, [2013-12-18T10:59:27.893066 #22210] INFO -- : 0.02ms: new Connection @5
222
- I, [2013-12-18T10:59:27.893417 #22210] INFO -- : 0.016ms: new Connection @7
223
- I, [2013-12-18T10:59:27.893976 #22210] INFO -- : 0.943ms: new Request @5 experteer.com//jobboerse
224
- I, [2013-12-18T10:59:27.894561 #22210] INFO -- : 1.532ms: on_data @5
225
- I, [2013-12-18T10:59:27.894859 #22210] INFO -- : 1.462ms: new Request @7 experteer.com//jobboerse
226
- I, [2013-12-18T10:59:27.895217 #22210] INFO -- : 1.825ms: on_data @7
227
- I, [2013-12-18T10:59:27.895316 #22210] INFO -- : 2.284ms: on_finish @5 for Job catalog responded? false
228
- E, [2013-12-18T10:59:27.895372 #22210] ERROR -- : 2.345ms: Error, backend didnt respond Retries: 0
229
- E, [2013-12-18T10:59:27.895419 #22210] ERROR -- : ["2.394ms: ", :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\nRetry-After: 5\r\n\r\n"]
230
- I, [2013-12-18T10:59:27.895748 #22210] INFO -- : 2.722ms: Connection done! @5
231
- I, [2013-12-18T10:59:27.895839 #22210] INFO -- : 2.443ms: on_finish @7 for Job catalog responded? false
232
- E, [2013-12-18T10:59:27.895885 #22210] ERROR -- : 2.495ms: Error, backend didnt respond Retries: 0
233
- E, [2013-12-18T10:59:27.895930 #22210] ERROR -- : ["2.541ms: ", :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\nRetry-After: 5\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>"]
234
- I, [2013-12-18T10:59:27.896116 #22210] INFO -- : 2.727ms: Connection done! @7
235
- I, [2013-12-18T10:59:27.896690 #22210] INFO -- : Terminating experella-proxy