experella-proxy 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,9 +2,9 @@ require 'spec_helper'
2
2
 
3
3
  describe ExperellaProxy::Response do
4
4
 
5
- let(:response) {
5
+ let(:response) do
6
6
  ExperellaProxy::Response.new(ExperellaProxy::Request.new("conn"))
7
- }
7
+ end
8
8
 
9
9
  describe "#new" do
10
10
 
@@ -24,14 +24,14 @@ describe ExperellaProxy::Response do
24
24
  it "overwrites values of existing keys" do
25
25
  response.update_header("Host" => "xyz", :response_url => "abcd")
26
26
  response.update_header("Host" => "abc")
27
- response.header.should eql({:Host => "abc", :response_url => "abcd"})
27
+ response.header.should eql(:Host => "abc", :response_url => "abcd")
28
28
  end
29
29
  end
30
30
 
31
31
  describe "#reconstruct_header" do
32
32
  it "writes a valid http header into send_buffer" do
33
- response.update_header({"Connection" => "keep-alive",
34
- :"Via-X" => ["Lukas", "Amy", "George"]})
33
+ response.update_header("Connection" => "keep-alive",
34
+ :"Via-X" => %w(Lukas Amy George))
35
35
  response.reconstruct_header
36
36
  data = response.flush
37
37
  data.start_with?("HTTP/1.1 500 Internal Server Error\r\n").should be_true
@@ -41,4 +41,4 @@ describe ExperellaProxy::Response do
41
41
  end
42
42
  end
43
43
 
44
- end
44
+ end
@@ -1,187 +1,187 @@
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: {}
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: {}
@@ -2,20 +2,20 @@ require 'logger'
2
2
 
3
3
  request_part = "oneroute|anotherpath"
4
4
 
5
- backend( :name => "experella1", :host => "127.0.0.10", :port => "7654", :concurrency => "1",
6
- :accepts => {"Host" => "experella", "request_url" => "^((?!/(#{request_part})($|/)).)*$"}
5
+ backend(:name => "experella1", :host => "127.0.0.10", :port => "7654", :concurrency => "1",
6
+ :accepts => { "Host" => "experella", "request_url" => "^((?!/(#{request_part})($|/)).)*$" }
7
7
  )
8
8
 
9
- backend( :name => "experella2", :host => "127.0.0.10", :port => "7654", :concurrency => "2",
10
- :accepts => {"Host" => "experella", "request_url" => "^((?!/(#{request_part})($|/)).)*$"}
9
+ backend(:name => "experella2", :host => "127.0.0.10", :port => "7654", :concurrency => "2",
10
+ :accepts => { "Host" => "experella", "request_url" => "^((?!/(#{request_part})($|/)).)*$" }
11
11
  )
12
12
 
13
- backend( :name => "exp proxy", :host => "127.0.0.11", :port => "7655", :concurrency => "1",
14
- :accepts => {"Host" => "experella", "request_url" => "/(#{request_part})($|/)"}
13
+ backend(:name => "exp proxy", :host => "127.0.0.11", :port => "7655", :concurrency => "1",
14
+ :accepts => { "Host" => "experella", "request_url" => "/(#{request_part})($|/)" }
15
15
  )
16
16
 
17
- backend( :name => "web", :host_port => "0.0.0.0:80", :concurrency => "1000",
18
- :accepts => {"Host" => "^((?!(experella|127)).)*$"}
17
+ backend(:name => "web", :host_port => "0.0.0.0:80", :concurrency => "1000",
18
+ :accepts => { "Host" => "^((?!(experella|127)).)*$" }
19
19
  )
20
20
 
21
21
  # don't forget EM-HTTP-Request (used in experella-proxy specs) default timeout is 10.0
@@ -30,5 +30,3 @@ logger.level = Logger::INFO
30
30
 
31
31
  set_error_pages(404, "404.html")
32
32
  set_error_pages(503, "503.html")
33
-
34
-
data/spec/spec_helper.rb CHANGED
@@ -16,20 +16,19 @@ if ENV["COVERAGE"]
16
16
  end
17
17
  end
18
18
 
19
-
20
19
  require 'pathname'
21
20
 
22
- LIB_ROOT= Pathname.new(File.dirname(__FILE__) +"/../")
23
- RSPEC_ROOT=LIB_ROOT.join("spec")
21
+ LIB_ROOT = Pathname.new(File.dirname(__FILE__) + "/../")
22
+ RSPEC_ROOT = LIB_ROOT.join("spec")
24
23
  $: << LIB_ROOT.join("lib")
25
24
  require 'experella-proxy.rb'
26
25
  require 'em-http'
27
26
  require 'posix/spawn'
28
27
 
29
28
  # clear spec logfile on startup
30
- File.new(File.join(File.expand_path(File.dirname(__FILE__)),"/fixtures/spec.log"), "w+")
29
+ File.new(File.join(File.expand_path(File.dirname(__FILE__)), "/fixtures/spec.log"), "w+")
31
30
  # load config once before all specs
32
- ExperellaProxy::Configuration.new(:configfile => File.join(File.dirname(__FILE__),"/fixtures/test_config.rb"))
31
+ ExperellaProxy::Configuration.new(:configfile => File.join(File.dirname(__FILE__), "/fixtures/test_config.rb"))
33
32
 
34
33
  RSpec.configure do |config|
35
34
  config.treat_symbols_as_metadata_keys_with_true_values = true
@@ -3,15 +3,12 @@ require 'sinatra/base'
3
3
  # Simple Hello World! Testserver
4
4
  #
5
5
  class HelloWorldServer < Sinatra::Base
6
-
7
6
  get '/' do
8
7
 
9
8
  "Hello World!"
10
9
 
11
10
  end
12
11
 
13
-
14
12
  # start the server if ruby file executed directly
15
13
  run! if app_file == $0
16
-
17
14
  end
@@ -3,7 +3,6 @@ require 'sinatra/base'
3
3
  # 10kb Testserver
4
4
  #
5
5
  class ServerOne < Sinatra::Base
6
-
7
6
  get '/' do
8
7
  "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ultrices, ipsum quis bibendum dignissim, tellus eros placerat nisi, dapibus blandit lectus dui non risus. Integer dui lectus, suscipit non nulla sit amet, iaculis rutrum nulla. Curabitur vehicula in libero facilisis porta. Proin commodo ante nec volutpat hendrerit. Sed dapibus scelerisque aliquet. In hac habitasse platea dictumst. Donec vitae tristique quam. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus tincidunt eu massa nec aliquam.
9
8
 
@@ -77,13 +76,11 @@ Nullam congue dolor sed ligula gravida, nec lacinia dui tempus. Duis vitae tempu
77
76
 
78
77
  Duis fringilla nulla nec euismod consectetur. Maecenas sed turpis arcu. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed auctor augue nec porta hendrerit. Fusce vitae cursus augue. Morbi urna sem, convallis bibendum faucibus ac, tincidunt et nibh. Cras lacinia, lorem eu vestibulum dignissim, ligula nisi consequat erat, eu placerat lacus sem at metus. Cras aliquet urna at nisi volutpat, id tincidunt lacus accumsan.
79
78
 
80
- Aliquam euismod bibendum mauris. Sed pellentesque, lacus ut sagittis fermentum, diam nibh bibendum metus, ut porttitor libero urna vel sapien. Nunc non urna elementum, volutpat odio vitae, accumsan turpis. Sed pharetra, est non sodales gravida, lacus lacus egestas lacus, a consequat risus libero vitae magna. Sed non molestie felis, in cursus orci.
79
+ Aliquam euismod bibendum mauris. Sed pellentesque, lacus ut sagittis fermentum, diam nibh bibendum metus, ut porttitor libero urna vel sapien. Nunc non urna elementum, volutpat odio vitae, accumsan turpis. Sed pharetra, est non sodales gravida, lacus lacus egestas lacus, a consequat risus libero vitae magna. Sed non molestie felis, in cursus orci.
81
80
  Sed amet." * 2
82
81
 
83
82
  end
84
83
 
85
-
86
84
  # start the server if ruby file executed directly
87
85
  run! if app_file == $0
88
-
89
86
  end