rhaproxy 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Changelog +41 -0
- data/README +8 -8
- data/lib/rhaproxy/backend.rb +29 -4989
- data/lib/rhaproxy/defaults.rb +66 -3682
- data/lib/rhaproxy/frontend.rb +56 -3226
- data/lib/rhaproxy/keywords.rb +6502 -0
- data/lib/rhaproxy/listen.rb +3 -6065
- data/lib/rhaproxy/mixins.rb +20 -0
- data/lib/rhaproxy.rb +2 -0
- metadata +6 -4
data/Changelog
CHANGED
@@ -0,0 +1,41 @@
|
|
1
|
+
commit a33c94ce4018a3122bc0c88038fb4816b0cbe9b8
|
2
|
+
Author: Joel Bryan Juliano <jjuliano@clinic-it.com>
|
3
|
+
Date: Tue Jan 4 23:53:08 2011 +0800
|
4
|
+
|
5
|
+
Changed README with the new syntax
|
6
|
+
|
7
|
+
commit e550f727712f1a4356964a43301f84ccd451344f
|
8
|
+
Author: Joel Bryan Juliano <jjuliano@clinic-it.com>
|
9
|
+
Date: Tue Jan 4 23:52:34 2011 +0800
|
10
|
+
|
11
|
+
bump to version 0.1.1 with new files added to gemspec
|
12
|
+
|
13
|
+
commit 9ce4bf2e2ddf425de8295f96349240d8b8ced34c
|
14
|
+
Author: Joel Bryan Juliano <jjuliano@clinic-it.com>
|
15
|
+
Date: Tue Jan 4 23:51:45 2011 +0800
|
16
|
+
|
17
|
+
reflect the new changes to the loader
|
18
|
+
|
19
|
+
commit 158894bc703a3b5ac664f3e34ff0134606ea3f3e
|
20
|
+
Author: Joel Bryan Juliano <jjuliano@clinic-it.com>
|
21
|
+
Date: Tue Jan 4 23:49:19 2011 +0800
|
22
|
+
|
23
|
+
Use the new mixin methods for the proxy classes
|
24
|
+
|
25
|
+
commit aabec8bcdd33bb9c8829760731fc74cfd62618e0
|
26
|
+
Author: Joel Bryan Juliano <jjuliano@clinic-it.com>
|
27
|
+
Date: Tue Jan 4 23:48:04 2011 +0800
|
28
|
+
|
29
|
+
Added the mixins class method
|
30
|
+
|
31
|
+
commit 276a056586ebcd40c2b2761775d3f03c5988ea7e
|
32
|
+
Author: Joel Bryan Juliano <jjuliano@clinic-it.com>
|
33
|
+
Date: Tue Jan 4 23:47:36 2011 +0800
|
34
|
+
|
35
|
+
Created a RhaproxyKeywords module to just mixins to each proxy class
|
36
|
+
|
37
|
+
commit 6ca740c1ff0a8db1b689572d02051ee7f0136d5b
|
38
|
+
Author: Joel Bryan Juliano <jjuliano@clinic-it.com>
|
39
|
+
Date: Thu Dec 30 17:47:43 2010 +0800
|
40
|
+
|
41
|
+
initial commit
|
data/README
CHANGED
@@ -15,18 +15,18 @@ Usage:
|
|
15
15
|
global.maxconn = 256
|
16
16
|
|
17
17
|
defaults = RhaproxyDefaults.new
|
18
|
-
defaults.mode
|
19
|
-
defaults.timeout_connect
|
20
|
-
defaults.timeout_client
|
21
|
-
defaults.timeout_server
|
18
|
+
defaults.mode("http")
|
19
|
+
defaults.timeout_connect("5000ms")
|
20
|
+
defaults.timeout_client("50000ms")
|
21
|
+
defaults.timeout_server("50000ms")
|
22
22
|
|
23
23
|
frontend = RhaproxyFrontend.new
|
24
|
-
frontend.name
|
25
|
-
frontend.default_backend
|
24
|
+
frontend.name("http-in")
|
25
|
+
frontend.default_backend("servers")
|
26
26
|
|
27
27
|
backend = RhaproxyBackend.new
|
28
|
-
backend.name
|
29
|
-
backend.server
|
28
|
+
backend.name("servers")
|
29
|
+
backend.server("server1 127.0.0.1:8000 maxconn 32")
|
30
30
|
|
31
31
|
config = Array.new
|
32
32
|
config.push([global.config])
|