rfuzz 0.8 → 0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/Rakefile +1 -1
  2. data/doc/rdoc/classes/RFuzz.html +1 -1
  3. data/doc/rdoc/classes/RFuzz/Browser.html +15 -15
  4. data/doc/rdoc/classes/RFuzz/Browser.src/M000084.html +12 -10
  5. data/doc/rdoc/classes/RFuzz/Browser.src/M000085.html +10 -11
  6. data/doc/rdoc/classes/RFuzz/Browser.src/M000086.html +24 -0
  7. data/doc/rdoc/classes/RFuzz/HttpClient.html +72 -64
  8. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000020.html +12 -21
  9. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000021.html +21 -15
  10. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000022.html +15 -17
  11. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000023.html +17 -22
  12. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000024.html +22 -9
  13. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000025.html +9 -31
  14. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000026.html +31 -25
  15. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000027.html +25 -13
  16. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000028.html +13 -21
  17. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000029.html +21 -5
  18. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000030.html +5 -13
  19. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000031.html +26 -0
  20. data/doc/rdoc/classes/RFuzz/HttpResponse.html +15 -15
  21. data/doc/rdoc/classes/RFuzz/HttpResponse.src/M000032.html +9 -5
  22. data/doc/rdoc/classes/RFuzz/HttpResponse.src/M000033.html +5 -5
  23. data/doc/rdoc/classes/RFuzz/HttpResponse.src/M000034.html +18 -0
  24. data/doc/rdoc/classes/RFuzz/Notifier.html +36 -36
  25. data/doc/rdoc/classes/RFuzz/Notifier.src/M000059.html +4 -4
  26. data/doc/rdoc/classes/RFuzz/Notifier.src/M000060.html +4 -4
  27. data/doc/rdoc/classes/RFuzz/Notifier.src/M000061.html +4 -4
  28. data/doc/rdoc/classes/RFuzz/Notifier.src/M000062.html +4 -4
  29. data/doc/rdoc/classes/RFuzz/Notifier.src/M000063.html +4 -4
  30. data/doc/rdoc/classes/RFuzz/Notifier.src/M000064.html +4 -4
  31. data/doc/rdoc/classes/RFuzz/Notifier.src/{M000058.html → M000065.html} +4 -4
  32. data/doc/rdoc/classes/RFuzz/PushBackIO.html +55 -40
  33. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000010.html +2 -1
  34. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000011.html +6 -5
  35. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000012.html +8 -6
  36. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000013.html +7 -5
  37. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000014.html +6 -31
  38. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000015.html +32 -5
  39. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000016.html +6 -5
  40. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000017.html +6 -5
  41. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000018.html +5 -9
  42. data/doc/rdoc/classes/RFuzz/PushBackIO.src/M000019.html +22 -0
  43. data/doc/rdoc/classes/RFuzz/RandomGenerator.html +62 -62
  44. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/M000047.html +8 -10
  45. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/M000048.html +23 -0
  46. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/M000051.html +9 -7
  47. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/M000052.html +7 -9
  48. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/M000053.html +9 -7
  49. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/M000054.html +7 -5
  50. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/M000055.html +5 -5
  51. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/M000056.html +5 -9
  52. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/M000057.html +9 -5
  53. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/M000058.html +18 -0
  54. data/doc/rdoc/classes/RFuzz/Sampler.html +60 -60
  55. data/doc/rdoc/classes/RFuzz/Sampler.src/M000072.html +6 -10
  56. data/doc/rdoc/classes/RFuzz/Sampler.src/M000073.html +10 -13
  57. data/doc/rdoc/classes/RFuzz/Sampler.src/M000074.html +13 -5
  58. data/doc/rdoc/classes/RFuzz/Sampler.src/M000075.html +5 -5
  59. data/doc/rdoc/classes/RFuzz/Sampler.src/M000076.html +5 -5
  60. data/doc/rdoc/classes/RFuzz/Sampler.src/M000077.html +5 -5
  61. data/doc/rdoc/classes/RFuzz/Sampler.src/M000078.html +5 -6
  62. data/doc/rdoc/classes/RFuzz/Sampler.src/M000079.html +6 -5
  63. data/doc/rdoc/classes/RFuzz/Sampler.src/M000080.html +5 -10
  64. data/doc/rdoc/classes/RFuzz/Sampler.src/M000081.html +10 -5
  65. data/doc/rdoc/classes/RFuzz/Sampler.src/M000082.html +5 -7
  66. data/doc/rdoc/classes/RFuzz/Sampler.src/M000083.html +20 -0
  67. data/doc/rdoc/classes/RFuzz/Session.html +63 -63
  68. data/doc/rdoc/classes/RFuzz/Session.src/M000035.html +18 -5
  69. data/doc/rdoc/classes/RFuzz/Session.src/M000036.html +5 -5
  70. data/doc/rdoc/classes/RFuzz/Session.src/M000037.html +5 -21
  71. data/doc/rdoc/classes/RFuzz/Session.src/M000038.html +21 -6
  72. data/doc/rdoc/classes/RFuzz/Session.src/M000039.html +6 -6
  73. data/doc/rdoc/classes/RFuzz/Session.src/M000040.html +6 -13
  74. data/doc/rdoc/classes/RFuzz/Session.src/M000041.html +13 -16
  75. data/doc/rdoc/classes/RFuzz/Session.src/M000042.html +16 -6
  76. data/doc/rdoc/classes/RFuzz/Session.src/M000043.html +6 -5
  77. data/doc/rdoc/classes/RFuzz/Session.src/M000044.html +5 -5
  78. data/doc/rdoc/classes/RFuzz/Session.src/M000045.html +5 -10
  79. data/doc/rdoc/classes/RFuzz/Session.src/M000046.html +23 -0
  80. data/doc/rdoc/classes/RFuzz/StatsTracker.html +32 -32
  81. data/doc/rdoc/classes/RFuzz/StatsTracker.src/M000066.html +6 -6
  82. data/doc/rdoc/classes/RFuzz/StatsTracker.src/M000067.html +6 -5
  83. data/doc/rdoc/classes/RFuzz/StatsTracker.src/M000068.html +5 -5
  84. data/doc/rdoc/classes/RFuzz/StatsTracker.src/M000069.html +5 -15
  85. data/doc/rdoc/classes/RFuzz/StatsTracker.src/M000070.html +15 -5
  86. data/doc/rdoc/classes/RFuzz/StatsTracker.src/{M000065.html → M000071.html} +5 -6
  87. data/doc/rdoc/created.rid +1 -1
  88. data/doc/rdoc/files/lib/rfuzz/client_rb.html +1 -1
  89. data/doc/rdoc/files/lib/rfuzz/pushbackio_rb.html +1 -1
  90. data/doc/rdoc/files/lib/rfuzz/session_rb.html +1 -1
  91. data/doc/rdoc/fr_method_index.html +76 -75
  92. data/examples/kill_routes.rb +5 -4
  93. data/examples/mongrel_test_suite/test/rails/put.rb +14 -7
  94. data/examples/random_sockets.rb +37 -0
  95. data/examples/randomizer.rb +19 -0
  96. data/ext/http11_client/http11_parser.c +33 -34
  97. data/lib/rfuzz/client.rb +1 -1
  98. data/lib/rfuzz/pushbackio.rb +16 -2
  99. data/lib/rfuzz/session.rb +1 -1
  100. metadata +14 -11
  101. data/doc/rdoc/classes/RFuzz/Browser.src/M000083.html +0 -25
  102. data/doc/rdoc/classes/RFuzz/HttpClient.src/M000019.html +0 -25
  103. data/doc/rdoc/classes/RFuzz/HttpResponse.src/M000031.html +0 -22
  104. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/M000046.html +0 -21
  105. data/doc/rdoc/classes/RFuzz/RandomGenerator.src/M000050.html +0 -22
  106. data/doc/rdoc/classes/RFuzz/Sampler.src/M000071.html +0 -19
  107. data/doc/rdoc/classes/RFuzz/Session.src/M000034.html +0 -31
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>notify (RFuzz::HttpClient)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 451</span>
14
+ 451: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">notify</span>(<span class="ruby-identifier">event</span>)
15
+ 452: <span class="ruby-ivar">@notifier</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">event</span>, <span class="ruby-identifier">:begins</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@notifier</span>
16
+ 453:
17
+ 454: <span class="ruby-keyword kw">begin</span>
18
+ 455: <span class="ruby-keyword kw">yield</span>
19
+ 456: <span class="ruby-ivar">@notifier</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">event</span>, <span class="ruby-identifier">:ends</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@notifier</span>
20
+ 457: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Object</span>
21
+ 458: <span class="ruby-ivar">@notifier</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">event</span>, <span class="ruby-identifier">:error</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@notifier</span>
22
+ 459: <span class="ruby-identifier">raise</span> <span class="ruby-identifier">$!</span>
23
+ 460: <span class="ruby-keyword kw">end</span>
24
+ 461: <span class="ruby-keyword kw">end</span></pre>
25
+ </body>
26
+ </html>
@@ -94,9 +94,9 @@ the server for that request.
94
94
  <h3 class="section-bar">Methods</h3>
95
95
 
96
96
  <div class="name-list">
97
- <a href="#M000031">chunk_size</a>&nbsp;&nbsp;
98
- <a href="#M000033">chunked_encoding?</a>&nbsp;&nbsp;
99
- <a href="#M000032">last_chunk?</a>&nbsp;&nbsp;
97
+ <a href="#M000032">chunk_size</a>&nbsp;&nbsp;
98
+ <a href="#M000034">chunked_encoding?</a>&nbsp;&nbsp;
99
+ <a href="#M000033">last_chunk?</a>&nbsp;&nbsp;
100
100
  </div>
101
101
  </div>
102
102
 
@@ -175,12 +175,12 @@ The actual chunks taken from the chunked encoding
175
175
  <div id="methods">
176
176
  <h3 class="section-bar">Public Instance methods</h3>
177
177
 
178
- <div id="method-M000031" class="method-detail">
179
- <a name="M000031"></a>
178
+ <div id="method-M000032" class="method-detail">
179
+ <a name="M000032"></a>
180
180
 
181
181
  <div class="method-heading">
182
- <a href="HttpResponse.src/M000031.html" target="Code" class="method-signature"
183
- onclick="popupCode('HttpResponse.src/M000031.html');return false;">
182
+ <a href="HttpResponse.src/M000032.html" target="Code" class="method-signature"
183
+ onclick="popupCode('HttpResponse.src/M000032.html');return false;">
184
184
  <span class="method-name">chunk_size</span><span class="method-args">()</span>
185
185
  </a>
186
186
  </div>
@@ -192,12 +192,12 @@ Converts the http_chunk_size string properly
192
192
  </div>
193
193
  </div>
194
194
 
195
- <div id="method-M000033" class="method-detail">
196
- <a name="M000033"></a>
195
+ <div id="method-M000034" class="method-detail">
196
+ <a name="M000034"></a>
197
197
 
198
198
  <div class="method-heading">
199
- <a href="HttpResponse.src/M000033.html" target="Code" class="method-signature"
200
- onclick="popupCode('HttpResponse.src/M000033.html');return false;">
199
+ <a href="HttpResponse.src/M000034.html" target="Code" class="method-signature"
200
+ onclick="popupCode('HttpResponse.src/M000034.html');return false;">
201
201
  <span class="method-name">chunked_encoding?</span><span class="method-args">()</span>
202
202
  </a>
203
203
  </div>
@@ -209,12 +209,12 @@ Easier way to find out if this is a chunked encoding
209
209
  </div>
210
210
  </div>
211
211
 
212
- <div id="method-M000032" class="method-detail">
213
- <a name="M000032"></a>
212
+ <div id="method-M000033" class="method-detail">
213
+ <a name="M000033"></a>
214
214
 
215
215
  <div class="method-heading">
216
- <a href="HttpResponse.src/M000032.html" target="Code" class="method-signature"
217
- onclick="popupCode('HttpResponse.src/M000032.html');return false;">
216
+ <a href="HttpResponse.src/M000033.html" target="Code" class="method-signature"
217
+ onclick="popupCode('HttpResponse.src/M000033.html');return false;">
218
218
  <span class="method-name">last_chunk?</span><span class="method-args">()</span>
219
219
  </a>
220
220
  </div>
@@ -5,14 +5,18 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>last_chunk? (RFuzz::HttpResponse)</title>
8
+ <title>chunk_size (RFuzz::HttpResponse)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 44</span>
14
- 44: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last_chunk?</span>
15
- 45: <span class="ruby-ivar">@last_chunk</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">chunk_size</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
16
- 46: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 35</span>
14
+ 35: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chunk_size</span>
15
+ 36: <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@chunk_size</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
16
+ 37: <span class="ruby-ivar">@chunk_size</span> = <span class="ruby-ivar">@http_chunk_size</span> <span class="ruby-operator">?</span> <span class="ruby-ivar">@http_chunk_size</span>.<span class="ruby-identifier">to_i</span>(<span class="ruby-identifier">base</span>=<span class="ruby-value">16</span>) <span class="ruby-operator">:</span> <span class="ruby-value">0</span>
17
+ 38: <span class="ruby-keyword kw">end</span>
18
+ 39:
19
+ 40: <span class="ruby-ivar">@chunk_size</span>
20
+ 41: <span class="ruby-keyword kw">end</span></pre>
17
21
  </body>
18
22
  </html>
@@ -5,14 +5,14 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>chunked_encoding? (RFuzz::HttpResponse)</title>
8
+ <title>last_chunk? (RFuzz::HttpResponse)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 49</span>
14
- 49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chunked_encoding?</span>
15
- 50: <span class="ruby-regexp re">/chunked/i</span> <span class="ruby-operator">===</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-constant">HttpClient</span><span class="ruby-operator">::</span><span class="ruby-constant">TRANSFER_ENCODING</span>]
16
- 51: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 44</span>
14
+ 44: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last_chunk?</span>
15
+ 45: <span class="ruby-ivar">@last_chunk</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">chunk_size</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
16
+ 46: <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>chunked_encoding? (RFuzz::HttpResponse)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 49</span>
14
+ 49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chunked_encoding?</span>
15
+ 50: <span class="ruby-regexp re">/chunked/i</span> <span class="ruby-operator">===</span> <span class="ruby-keyword kw">self</span>[<span class="ruby-constant">HttpClient</span><span class="ruby-operator">::</span><span class="ruby-constant">TRANSFER_ENCODING</span>]
16
+ 51: <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -104,13 +104,13 @@ sleeping inside them and can track timing data.
104
104
  <h3 class="section-bar">Methods</h3>
105
105
 
106
106
  <div class="name-list">
107
- <a href="#M000063">close</a>&nbsp;&nbsp;
108
- <a href="#M000058">connect</a>&nbsp;&nbsp;
109
- <a href="#M000062">read_body</a>&nbsp;&nbsp;
110
- <a href="#M000064">read_chunk</a>&nbsp;&nbsp;
111
- <a href="#M000061">read_header</a>&nbsp;&nbsp;
112
- <a href="#M000060">redirect</a>&nbsp;&nbsp;
113
- <a href="#M000059">send_request</a>&nbsp;&nbsp;
107
+ <a href="#M000064">close</a>&nbsp;&nbsp;
108
+ <a href="#M000059">connect</a>&nbsp;&nbsp;
109
+ <a href="#M000063">read_body</a>&nbsp;&nbsp;
110
+ <a href="#M000065">read_chunk</a>&nbsp;&nbsp;
111
+ <a href="#M000062">read_header</a>&nbsp;&nbsp;
112
+ <a href="#M000061">redirect</a>&nbsp;&nbsp;
113
+ <a href="#M000060">send_request</a>&nbsp;&nbsp;
114
114
  </div>
115
115
  </div>
116
116
 
@@ -132,12 +132,12 @@ sleeping inside them and can track timing data.
132
132
  <div id="methods">
133
133
  <h3 class="section-bar">Public Instance methods</h3>
134
134
 
135
- <div id="method-M000063" class="method-detail">
136
- <a name="M000063"></a>
135
+ <div id="method-M000064" class="method-detail">
136
+ <a name="M000064"></a>
137
137
 
138
138
  <div class="method-heading">
139
- <a href="Notifier.src/M000063.html" target="Code" class="method-signature"
140
- onclick="popupCode('Notifier.src/M000063.html');return false;">
139
+ <a href="Notifier.src/M000064.html" target="Code" class="method-signature"
140
+ onclick="popupCode('Notifier.src/M000064.html');return false;">
141
141
  <span class="method-name">close</span><span class="method-args">(state)</span>
142
142
  </a>
143
143
  </div>
@@ -149,12 +149,12 @@ Before and after the client closes with the server.
149
149
  </div>
150
150
  </div>
151
151
 
152
- <div id="method-M000058" class="method-detail">
153
- <a name="M000058"></a>
152
+ <div id="method-M000059" class="method-detail">
153
+ <a name="M000059"></a>
154
154
 
155
155
  <div class="method-heading">
156
- <a href="Notifier.src/M000058.html" target="Code" class="method-signature"
157
- onclick="popupCode('Notifier.src/M000058.html');return false;">
156
+ <a href="Notifier.src/M000059.html" target="Code" class="method-signature"
157
+ onclick="popupCode('Notifier.src/M000059.html');return false;">
158
158
  <span class="method-name">connect</span><span class="method-args">(state)</span>
159
159
  </a>
160
160
  </div>
@@ -166,12 +166,12 @@ Fired right before connecting and right after the connection.
166
166
  </div>
167
167
  </div>
168
168
 
169
- <div id="method-M000062" class="method-detail">
170
- <a name="M000062"></a>
169
+ <div id="method-M000063" class="method-detail">
170
+ <a name="M000063"></a>
171
171
 
172
172
  <div class="method-heading">
173
- <a href="Notifier.src/M000062.html" target="Code" class="method-signature"
174
- onclick="popupCode('Notifier.src/M000062.html');return false;">
173
+ <a href="Notifier.src/M000063.html" target="Code" class="method-signature"
174
+ onclick="popupCode('Notifier.src/M000063.html');return false;">
175
175
  <span class="method-name">read_body</span><span class="method-args">(state)</span>
176
176
  </a>
177
177
  </div>
@@ -183,12 +183,12 @@ Before and after the body is ready.
183
183
  </div>
184
184
  </div>
185
185
 
186
- <div id="method-M000064" class="method-detail">
187
- <a name="M000064"></a>
186
+ <div id="method-M000065" class="method-detail">
187
+ <a name="M000065"></a>
188
188
 
189
189
  <div class="method-heading">
190
- <a href="Notifier.src/M000064.html" target="Code" class="method-signature"
191
- onclick="popupCode('Notifier.src/M000064.html');return false;">
190
+ <a href="Notifier.src/M000065.html" target="Code" class="method-signature"
191
+ onclick="popupCode('Notifier.src/M000065.html');return false;">
192
192
  <span class="method-name">read_chunk</span><span class="method-args">(state)</span>
193
193
  </a>
194
194
  </div>
@@ -200,12 +200,12 @@ Called when a chunk from a chunked encoding is read.
200
200
  </div>
201
201
  </div>
202
202
 
203
- <div id="method-M000061" class="method-detail">
204
- <a name="M000061"></a>
203
+ <div id="method-M000062" class="method-detail">
204
+ <a name="M000062"></a>
205
205
 
206
206
  <div class="method-heading">
207
- <a href="Notifier.src/M000061.html" target="Code" class="method-signature"
208
- onclick="popupCode('Notifier.src/M000061.html');return false;">
207
+ <a href="Notifier.src/M000062.html" target="Code" class="method-signature"
208
+ onclick="popupCode('Notifier.src/M000062.html');return false;">
209
209
  <span class="method-name">read_header</span><span class="method-args">(state)</span>
210
210
  </a>
211
211
  </div>
@@ -217,31 +217,31 @@ Before and after the header is finally read.
217
217
  </div>
218
218
  </div>
219
219
 
220
- <div id="method-M000060" class="method-detail">
221
- <a name="M000060"></a>
220
+ <div id="method-M000061" class="method-detail">
221
+ <a name="M000061"></a>
222
222
 
223
223
  <div class="method-heading">
224
- <a href="Notifier.src/M000060.html" target="Code" class="method-signature"
225
- onclick="popupCode('Notifier.src/M000060.html');return false;">
224
+ <a href="Notifier.src/M000061.html" target="Code" class="method-signature"
225
+ onclick="popupCode('Notifier.src/M000061.html');return false;">
226
226
  <span class="method-name">redirect</span><span class="method-args">(state)</span>
227
227
  </a>
228
228
  </div>
229
229
 
230
230
  <div class="method-description">
231
231
  <p>
232
- Called whenever a <a href="HttpClient.html#M000028">HttpClient.redirect</a>
232
+ Called whenever a <a href="HttpClient.html#M000029">HttpClient.redirect</a>
233
233
  is done and there are redirects to follow. You can use a notifier to detect
234
234
  that you&#8217;re doing to many and throw an abort.
235
235
  </p>
236
236
  </div>
237
237
  </div>
238
238
 
239
- <div id="method-M000059" class="method-detail">
240
- <a name="M000059"></a>
239
+ <div id="method-M000060" class="method-detail">
240
+ <a name="M000060"></a>
241
241
 
242
242
  <div class="method-heading">
243
- <a href="Notifier.src/M000059.html" target="Code" class="method-signature"
244
- onclick="popupCode('Notifier.src/M000059.html');return false;">
243
+ <a href="Notifier.src/M000060.html" target="Code" class="method-signature"
244
+ onclick="popupCode('Notifier.src/M000060.html');return false;">
245
245
  <span class="method-name">send_request</span><span class="method-args">(state)</span>
246
246
  </a>
247
247
  </div>
@@ -5,13 +5,13 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>send_request (RFuzz::Notifier)</title>
8
+ <title>connect (RFuzz::Notifier)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 486</span>
14
- 486: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_request</span>(<span class="ruby-identifier">state</span>)
15
- 487: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 480</span>
14
+ 480: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">connect</span>(<span class="ruby-identifier">state</span>)
15
+ 481: <span class="ruby-keyword kw">end</span></pre>
16
16
  </body>
17
17
  </html>
@@ -5,13 +5,13 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>redirect (RFuzz::Notifier)</title>
8
+ <title>send_request (RFuzz::Notifier)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 492</span>
14
- 492: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">redirect</span>(<span class="ruby-identifier">state</span>)
15
- 493: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 486</span>
14
+ 486: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_request</span>(<span class="ruby-identifier">state</span>)
15
+ 487: <span class="ruby-keyword kw">end</span></pre>
16
16
  </body>
17
17
  </html>
@@ -5,13 +5,13 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>read_header (RFuzz::Notifier)</title>
8
+ <title>redirect (RFuzz::Notifier)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 496</span>
14
- 496: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_header</span>(<span class="ruby-identifier">state</span>)
15
- 497: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 492</span>
14
+ 492: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">redirect</span>(<span class="ruby-identifier">state</span>)
15
+ 493: <span class="ruby-keyword kw">end</span></pre>
16
16
  </body>
17
17
  </html>
@@ -5,13 +5,13 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>read_body (RFuzz::Notifier)</title>
8
+ <title>read_header (RFuzz::Notifier)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 500</span>
14
- 500: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_body</span>(<span class="ruby-identifier">state</span>)
15
- 501: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 496</span>
14
+ 496: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_header</span>(<span class="ruby-identifier">state</span>)
15
+ 497: <span class="ruby-keyword kw">end</span></pre>
16
16
  </body>
17
17
  </html>
@@ -5,13 +5,13 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>close (RFuzz::Notifier)</title>
8
+ <title>read_body (RFuzz::Notifier)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 504</span>
14
- 504: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>(<span class="ruby-identifier">state</span>)
15
- 505: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 500</span>
14
+ 500: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_body</span>(<span class="ruby-identifier">state</span>)
15
+ 501: <span class="ruby-keyword kw">end</span></pre>
16
16
  </body>
17
17
  </html>
@@ -5,13 +5,13 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>read_chunk (RFuzz::Notifier)</title>
8
+ <title>close (RFuzz::Notifier)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 508</span>
14
- 508: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_chunk</span>(<span class="ruby-identifier">state</span>)
15
- 509: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 504</span>
14
+ 504: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span>(<span class="ruby-identifier">state</span>)
15
+ 505: <span class="ruby-keyword kw">end</span></pre>
16
16
  </body>
17
17
  </html>
@@ -5,13 +5,13 @@
5
5
 
6
6
  <html>
7
7
  <head>
8
- <title>connect (RFuzz::Notifier)</title>
8
+ <title>read_chunk (RFuzz::Notifier)</title>
9
9
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
10
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
11
  </head>
12
12
  <body class="standalone-code">
13
- <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 480</span>
14
- 480: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">connect</span>(<span class="ruby-identifier">state</span>)
15
- 481: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 508</span>
14
+ 508: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read_chunk</span>(<span class="ruby-identifier">state</span>)
15
+ 509: <span class="ruby-keyword kw">end</span></pre>
16
16
  </body>
17
17
  </html>
@@ -96,15 +96,16 @@ read.
96
96
  <h3 class="section-bar">Methods</h3>
97
97
 
98
98
  <div class="name-list">
99
- <a href="#M000017">close</a>&nbsp;&nbsp;
100
- <a href="#M000015">flush</a>&nbsp;&nbsp;
99
+ <a href="#M000018">close</a>&nbsp;&nbsp;
100
+ <a href="#M000016">flush</a>&nbsp;&nbsp;
101
101
  <a href="#M000010">new</a>&nbsp;&nbsp;
102
- <a href="#M000012">pop</a>&nbsp;&nbsp;
103
- <a href="#M000018">protect</a>&nbsp;&nbsp;
104
- <a href="#M000011">push</a>&nbsp;&nbsp;
105
- <a href="#M000014">read</a>&nbsp;&nbsp;
106
- <a href="#M000013">reset</a>&nbsp;&nbsp;
107
- <a href="#M000016">write</a>&nbsp;&nbsp;
102
+ <a href="#M000013">pop</a>&nbsp;&nbsp;
103
+ <a href="#M000019">protect</a>&nbsp;&nbsp;
104
+ <a href="#M000012">push</a>&nbsp;&nbsp;
105
+ <a href="#M000011">random_death</a>&nbsp;&nbsp;
106
+ <a href="#M000015">read</a>&nbsp;&nbsp;
107
+ <a href="#M000014">reset</a>&nbsp;&nbsp;
108
+ <a href="#M000017">write</a>&nbsp;&nbsp;
108
109
  </div>
109
110
  </div>
110
111
 
@@ -155,12 +156,12 @@ read.
155
156
 
156
157
  <h3 class="section-bar">Public Instance methods</h3>
157
158
 
158
- <div id="method-M000017" class="method-detail">
159
- <a name="M000017"></a>
159
+ <div id="method-M000018" class="method-detail">
160
+ <a name="M000018"></a>
160
161
 
161
162
  <div class="method-heading">
162
- <a href="PushBackIO.src/M000017.html" target="Code" class="method-signature"
163
- onclick="popupCode('PushBackIO.src/M000017.html');return false;">
163
+ <a href="PushBackIO.src/M000018.html" target="Code" class="method-signature"
164
+ onclick="popupCode('PushBackIO.src/M000018.html');return false;">
164
165
  <span class="method-name">close</span><span class="method-args">()</span>
165
166
  </a>
166
167
  </div>
@@ -169,12 +170,12 @@ read.
169
170
  </div>
170
171
  </div>
171
172
 
172
- <div id="method-M000015" class="method-detail">
173
- <a name="M000015"></a>
173
+ <div id="method-M000016" class="method-detail">
174
+ <a name="M000016"></a>
174
175
 
175
176
  <div class="method-heading">
176
- <a href="PushBackIO.src/M000015.html" target="Code" class="method-signature"
177
- onclick="popupCode('PushBackIO.src/M000015.html');return false;">
177
+ <a href="PushBackIO.src/M000016.html" target="Code" class="method-signature"
178
+ onclick="popupCode('PushBackIO.src/M000016.html');return false;">
178
179
  <span class="method-name">flush</span><span class="method-args">()</span>
179
180
  </a>
180
181
  </div>
@@ -183,12 +184,12 @@ read.
183
184
  </div>
184
185
  </div>
185
186
 
186
- <div id="method-M000012" class="method-detail">
187
- <a name="M000012"></a>
187
+ <div id="method-M000013" class="method-detail">
188
+ <a name="M000013"></a>
188
189
 
189
190
  <div class="method-heading">
190
- <a href="PushBackIO.src/M000012.html" target="Code" class="method-signature"
191
- onclick="popupCode('PushBackIO.src/M000012.html');return false;">
191
+ <a href="PushBackIO.src/M000013.html" target="Code" class="method-signature"
192
+ onclick="popupCode('PushBackIO.src/M000013.html');return false;">
192
193
  <span class="method-name">pop</span><span class="method-args">(n)</span>
193
194
  </a>
194
195
  </div>
@@ -197,12 +198,12 @@ read.
197
198
  </div>
198
199
  </div>
199
200
 
200
- <div id="method-M000018" class="method-detail">
201
- <a name="M000018"></a>
201
+ <div id="method-M000019" class="method-detail">
202
+ <a name="M000019"></a>
202
203
 
203
204
  <div class="method-heading">
204
- <a href="PushBackIO.src/M000018.html" target="Code" class="method-signature"
205
- onclick="popupCode('PushBackIO.src/M000018.html');return false;">
205
+ <a href="PushBackIO.src/M000019.html" target="Code" class="method-signature"
206
+ onclick="popupCode('PushBackIO.src/M000019.html');return false;">
206
207
  <span class="method-name">protect</span><span class="method-args">() {|| ...}</span>
207
208
  </a>
208
209
  </div>
@@ -211,12 +212,12 @@ read.
211
212
  </div>
212
213
  </div>
213
214
 
214
- <div id="method-M000011" class="method-detail">
215
- <a name="M000011"></a>
215
+ <div id="method-M000012" class="method-detail">
216
+ <a name="M000012"></a>
216
217
 
217
218
  <div class="method-heading">
218
- <a href="PushBackIO.src/M000011.html" target="Code" class="method-signature"
219
- onclick="popupCode('PushBackIO.src/M000011.html');return false;">
219
+ <a href="PushBackIO.src/M000012.html" target="Code" class="method-signature"
220
+ onclick="popupCode('PushBackIO.src/M000012.html');return false;">
220
221
  <span class="method-name">push</span><span class="method-args">(content)</span>
221
222
  </a>
222
223
  </div>
@@ -229,12 +230,26 @@ handle.
229
230
  </div>
230
231
  </div>
231
232
 
232
- <div id="method-M000014" class="method-detail">
233
- <a name="M000014"></a>
233
+ <div id="method-M000011" class="method-detail">
234
+ <a name="M000011"></a>
234
235
 
235
236
  <div class="method-heading">
236
- <a href="PushBackIO.src/M000014.html" target="Code" class="method-signature"
237
- onclick="popupCode('PushBackIO.src/M000014.html');return false;">
237
+ <a href="PushBackIO.src/M000011.html" target="Code" class="method-signature"
238
+ onclick="popupCode('PushBackIO.src/M000011.html');return false;">
239
+ <span class="method-name">random_death</span><span class="method-args">()</span>
240
+ </a>
241
+ </div>
242
+
243
+ <div class="method-description">
244
+ </div>
245
+ </div>
246
+
247
+ <div id="method-M000015" class="method-detail">
248
+ <a name="M000015"></a>
249
+
250
+ <div class="method-heading">
251
+ <a href="PushBackIO.src/M000015.html" target="Code" class="method-signature"
252
+ onclick="popupCode('PushBackIO.src/M000015.html');return false;">
238
253
  <span class="method-name">read</span><span class="method-args">(n, partial=false)</span>
239
254
  </a>
240
255
  </div>
@@ -253,12 +268,12 @@ If partial==true then readpartial is used instead.
253
268
  </div>
254
269
  </div>
255
270
 
256
- <div id="method-M000013" class="method-detail">
257
- <a name="M000013"></a>
271
+ <div id="method-M000014" class="method-detail">
272
+ <a name="M000014"></a>
258
273
 
259
274
  <div class="method-heading">
260
- <a href="PushBackIO.src/M000013.html" target="Code" class="method-signature"
261
- onclick="popupCode('PushBackIO.src/M000013.html');return false;">
275
+ <a href="PushBackIO.src/M000014.html" target="Code" class="method-signature"
276
+ onclick="popupCode('PushBackIO.src/M000014.html');return false;">
262
277
  <span class="method-name">reset</span><span class="method-args">()</span>
263
278
  </a>
264
279
  </div>
@@ -267,12 +282,12 @@ If partial==true then readpartial is used instead.
267
282
  </div>
268
283
  </div>
269
284
 
270
- <div id="method-M000016" class="method-detail">
271
- <a name="M000016"></a>
285
+ <div id="method-M000017" class="method-detail">
286
+ <a name="M000017"></a>
272
287
 
273
288
  <div class="method-heading">
274
- <a href="PushBackIO.src/M000016.html" target="Code" class="method-signature"
275
- onclick="popupCode('PushBackIO.src/M000016.html');return false;">
289
+ <a href="PushBackIO.src/M000017.html" target="Code" class="method-signature"
290
+ onclick="popupCode('PushBackIO.src/M000017.html');return false;">
276
291
  <span class="method-name">write</span><span class="method-args">(content)</span>
277
292
  </a>
278
293
  </div>