mongrel 0.3.13.3 → 0.3.13.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (258) hide show
  1. data/Rakefile +5 -4
  2. data/bin/mongrel_rails +162 -169
  3. data/doc/rdoc/classes/IO.src/M000001.html +5 -5
  4. data/doc/rdoc/classes/IO.src/M000002.html +5 -5
  5. data/doc/rdoc/classes/Kernel.html +10 -10
  6. data/doc/rdoc/classes/Kernel.src/M000010.html +19 -0
  7. data/doc/rdoc/classes/Kernel.src/M000011.html +23 -0
  8. data/doc/rdoc/classes/Mongrel.html +27 -10
  9. data/doc/rdoc/classes/Mongrel/CGIWrapper.html +67 -54
  10. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000101.html → M000112.html} +11 -10
  11. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000102.html → M000113.html} +31 -31
  12. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000103.html → M000114.html} +20 -20
  13. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000115.html +32 -0
  14. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000105.html → M000116.html} +11 -11
  15. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000106.html → M000117.html} +4 -4
  16. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000107.html → M000118.html} +4 -4
  17. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000108.html → M000119.html} +4 -4
  18. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/{M000109.html → M000120.html} +5 -5
  19. data/doc/rdoc/classes/Mongrel/Camping.html +5 -5
  20. data/doc/rdoc/classes/Mongrel/Camping.src/{M000048.html → M000039.html} +0 -0
  21. data/doc/rdoc/classes/Mongrel/Camping/CampingHandler.html +10 -10
  22. data/doc/rdoc/classes/Mongrel/Camping/CampingHandler.src/{M000049.html → M000040.html} +0 -0
  23. data/doc/rdoc/classes/Mongrel/Camping/CampingHandler.src/{M000050.html → M000041.html} +0 -0
  24. data/doc/rdoc/classes/Mongrel/Command/Base.html +65 -65
  25. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000016.html +24 -0
  26. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000017.html +42 -0
  27. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000018.html +18 -0
  28. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000029.html → M000019.html} +0 -0
  29. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000030.html → M000020.html} +0 -0
  30. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000031.html → M000021.html} +0 -0
  31. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000032.html → M000022.html} +0 -0
  32. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000033.html → M000023.html} +0 -0
  33. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000034.html → M000024.html} +0 -0
  34. data/doc/rdoc/classes/Mongrel/Command/Base.src/{M000035.html → M000025.html} +0 -0
  35. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000026.html +11 -11
  36. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000027.html +11 -29
  37. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000028.html +5 -5
  38. data/doc/rdoc/classes/Mongrel/Command/Registry.html +15 -15
  39. data/doc/rdoc/classes/Mongrel/Command/Registry.src/{M000039.html → M000029.html} +0 -0
  40. data/doc/rdoc/classes/Mongrel/Command/Registry.src/{M000040.html → M000030.html} +10 -6
  41. data/doc/rdoc/classes/Mongrel/Command/Registry.src/M000031.html +58 -0
  42. data/doc/rdoc/classes/Mongrel/Configurator.html +115 -115
  43. data/doc/rdoc/classes/Mongrel/Configurator.src/M000091.html +27 -0
  44. data/doc/rdoc/classes/Mongrel/Configurator.src/M000092.html +31 -0
  45. data/doc/rdoc/classes/Mongrel/Configurator.src/M000093.html +21 -0
  46. data/doc/rdoc/classes/Mongrel/Configurator.src/M000094.html +20 -0
  47. data/doc/rdoc/classes/Mongrel/Configurator.src/M000095.html +23 -0
  48. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000115.html → M000096.html} +4 -4
  49. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000116.html → M000097.html} +24 -24
  50. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000117.html → M000098.html} +5 -5
  51. data/doc/rdoc/classes/Mongrel/Configurator.src/M000099.html +39 -0
  52. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000119.html → M000100.html} +19 -19
  53. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000120.html → M000101.html} +4 -4
  54. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000121.html → M000102.html} +10 -10
  55. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000122.html → M000103.html} +5 -5
  56. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000123.html → M000104.html} +4 -4
  57. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000124.html → M000105.html} +8 -8
  58. data/doc/rdoc/classes/Mongrel/Configurator.src/M000106.html +22 -0
  59. data/doc/rdoc/classes/Mongrel/Configurator.src/{M000126.html → M000107.html} +4 -4
  60. data/doc/rdoc/classes/Mongrel/Configurator.src/M000108.html +34 -0
  61. data/doc/rdoc/classes/Mongrel/Configurator.src/M000109.html +18 -0
  62. data/doc/rdoc/classes/Mongrel/Configurator.src/M000110.html +23 -14
  63. data/doc/rdoc/classes/Mongrel/Configurator.src/M000111.html +5 -18
  64. data/doc/rdoc/classes/Mongrel/Const.html +11 -6
  65. data/doc/rdoc/classes/Mongrel/DeflateFilter.html +10 -10
  66. data/doc/rdoc/classes/Mongrel/DeflateFilter.src/{M000099.html → M000121.html} +5 -5
  67. data/doc/rdoc/classes/Mongrel/DeflateFilter.src/{M000100.html → M000122.html} +14 -14
  68. data/doc/rdoc/classes/Mongrel/DirHandler.html +31 -31
  69. data/doc/rdoc/classes/Mongrel/DirHandler.src/{M000058.html → M000049.html} +0 -0
  70. data/doc/rdoc/classes/Mongrel/DirHandler.src/{M000059.html → M000050.html} +0 -0
  71. data/doc/rdoc/classes/Mongrel/DirHandler.src/{M000060.html → M000051.html} +12 -16
  72. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000052.html +63 -0
  73. data/doc/rdoc/classes/Mongrel/DirHandler.src/{M000062.html → M000053.html} +25 -25
  74. data/doc/rdoc/classes/Mongrel/DirHandler.src/{M000063.html → M000054.html} +4 -4
  75. data/doc/rdoc/classes/Mongrel/Error404Handler.html +10 -10
  76. data/doc/rdoc/classes/Mongrel/Error404Handler.src/{M000131.html → M000123.html} +0 -0
  77. data/doc/rdoc/classes/Mongrel/Error404Handler.src/{M000132.html → M000124.html} +0 -0
  78. data/doc/rdoc/classes/Mongrel/HeaderOut.html +10 -10
  79. data/doc/rdoc/classes/Mongrel/HeaderOut.src/{M000072.html → M000064.html} +4 -4
  80. data/doc/rdoc/classes/Mongrel/HeaderOut.src/{M000073.html → M000065.html} +4 -4
  81. data/doc/rdoc/classes/Mongrel/HttpHandler.html +15 -15
  82. data/doc/rdoc/classes/Mongrel/HttpHandler.src/{M000078.html → M000070.html} +0 -0
  83. data/doc/rdoc/classes/Mongrel/HttpHandler.src/{M000079.html → M000071.html} +0 -0
  84. data/doc/rdoc/classes/Mongrel/HttpHandler.src/{M000080.html → M000072.html} +0 -0
  85. data/doc/rdoc/classes/Mongrel/HttpHandlerPlugin.html +20 -20
  86. data/doc/rdoc/classes/Mongrel/HttpHandlerPlugin.src/{M000022.html → M000012.html} +0 -0
  87. data/doc/rdoc/classes/Mongrel/HttpHandlerPlugin.src/{M000023.html → M000013.html} +0 -0
  88. data/doc/rdoc/classes/Mongrel/HttpHandlerPlugin.src/{M000024.html → M000014.html} +0 -0
  89. data/doc/rdoc/classes/Mongrel/HttpHandlerPlugin.src/{M000025.html → M000015.html} +0 -0
  90. data/doc/rdoc/classes/Mongrel/HttpParams.html +131 -0
  91. data/doc/rdoc/classes/Mongrel/HttpParser.html +35 -35
  92. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000051.html → M000042.html} +1 -1
  93. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000052.html → M000043.html} +1 -1
  94. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000053.html → M000044.html} +1 -1
  95. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000054.html → M000045.html} +3 -3
  96. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000055.html → M000046.html} +1 -1
  97. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000056.html → M000047.html} +1 -1
  98. data/doc/rdoc/classes/Mongrel/HttpParser.src/{M000057.html → M000048.html} +1 -1
  99. data/doc/rdoc/classes/Mongrel/HttpRequest.html +63 -24
  100. data/doc/rdoc/classes/Mongrel/HttpRequest.src/M000130.html +47 -0
  101. data/doc/rdoc/classes/Mongrel/HttpRequest.src/M000131.html +37 -0
  102. data/doc/rdoc/classes/Mongrel/HttpRequest.src/M000132.html +29 -0
  103. data/doc/rdoc/classes/Mongrel/HttpRequest.src/{M000139.html → M000133.html} +6 -6
  104. data/doc/rdoc/classes/Mongrel/HttpRequest.src/{M000140.html → M000134.html} +6 -6
  105. data/doc/rdoc/classes/Mongrel/HttpRequest.src/{M000141.html → M000135.html} +18 -18
  106. data/doc/rdoc/classes/Mongrel/HttpResponse.html +66 -72
  107. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000073.html +25 -0
  108. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000074.html +20 -0
  109. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000075.html +26 -0
  110. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000076.html +22 -0
  111. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000085.html → M000077.html} +8 -8
  112. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000086.html → M000078.html} +8 -8
  113. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000079.html +31 -0
  114. data/doc/rdoc/classes/Mongrel/HttpResponse.src/{M000088.html → M000080.html} +7 -7
  115. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000081.html +7 -12
  116. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000082.html +7 -7
  117. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000083.html +7 -12
  118. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000084.html +5 -9
  119. data/doc/rdoc/classes/Mongrel/HttpServer.html +58 -43
  120. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000064.html → M000055.html} +11 -11
  121. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000065.html → M000056.html} +76 -72
  122. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000066.html → M000057.html} +18 -17
  123. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000067.html → M000058.html} +7 -7
  124. data/doc/rdoc/classes/Mongrel/HttpServer.src/M000059.html +22 -0
  125. data/doc/rdoc/classes/Mongrel/HttpServer.src/M000060.html +62 -0
  126. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000069.html → M000061.html} +20 -20
  127. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000070.html → M000062.html} +4 -4
  128. data/doc/rdoc/classes/Mongrel/HttpServer.src/{M000071.html → M000063.html} +8 -8
  129. data/doc/rdoc/classes/Mongrel/Rails/RailsConfigurator.html +15 -15
  130. data/doc/rdoc/classes/Mongrel/Rails/RailsConfigurator.src/{M000042.html → M000032.html} +23 -25
  131. data/doc/rdoc/classes/Mongrel/Rails/RailsConfigurator.src/{M000043.html → M000033.html} +11 -11
  132. data/doc/rdoc/classes/Mongrel/Rails/RailsConfigurator.src/{M000044.html → M000034.html} +12 -12
  133. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.html +30 -15
  134. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.src/{M000045.html → M000035.html} +9 -8
  135. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.src/M000036.html +54 -0
  136. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.src/M000037.html +21 -0
  137. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.src/M000038.html +25 -0
  138. data/doc/rdoc/classes/Mongrel/RedirectHandler.html +10 -10
  139. data/doc/rdoc/classes/Mongrel/RedirectHandler.src/{M000136.html → M000128.html} +8 -8
  140. data/doc/rdoc/classes/Mongrel/RedirectHandler.src/{M000137.html → M000129.html} +13 -13
  141. data/doc/rdoc/classes/Mongrel/StatisticsFilter.html +16 -16
  142. data/doc/rdoc/classes/Mongrel/StatisticsFilter.src/M000125.html +24 -0
  143. data/doc/rdoc/classes/Mongrel/StatisticsFilter.src/{M000134.html → M000126.html} +10 -10
  144. data/doc/rdoc/classes/Mongrel/StatisticsFilter.src/{M000135.html → M000127.html} +4 -4
  145. data/doc/rdoc/classes/{Stats.html → Mongrel/Stats.html} +44 -60
  146. data/doc/rdoc/classes/Mongrel/Stats.src/M000136.html +19 -0
  147. data/doc/rdoc/classes/Mongrel/Stats.src/M000137.html +23 -0
  148. data/doc/rdoc/classes/Mongrel/Stats.src/M000138.html +26 -0
  149. data/doc/rdoc/classes/Mongrel/Stats.src/M000139.html +18 -0
  150. data/doc/rdoc/classes/{Stats.src/M000009.html → Mongrel/Stats.src/M000140.html} +6 -6
  151. data/doc/rdoc/classes/Mongrel/Stats.src/M000141.html +18 -0
  152. data/doc/rdoc/classes/Mongrel/Stats.src/M000142.html +23 -0
  153. data/doc/rdoc/classes/Mongrel/Stats.src/M000143.html +20 -0
  154. data/doc/rdoc/classes/Mongrel/StatusHandler.html +20 -20
  155. data/doc/rdoc/classes/Mongrel/StatusHandler.src/{M000074.html → M000066.html} +4 -4
  156. data/doc/rdoc/classes/Mongrel/StatusHandler.src/{M000075.html → M000067.html} +10 -10
  157. data/doc/rdoc/classes/Mongrel/StatusHandler.src/{M000076.html → M000068.html} +28 -28
  158. data/doc/rdoc/classes/Mongrel/StatusHandler.src/{M000077.html → M000069.html} +6 -6
  159. data/doc/rdoc/classes/Mongrel/URIClassifier.html +30 -30
  160. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000093.html → M000085.html} +4 -4
  161. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000094.html → M000086.html} +4 -4
  162. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000095.html → M000087.html} +0 -0
  163. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000096.html → M000088.html} +1 -1
  164. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000097.html → M000089.html} +0 -0
  165. data/doc/rdoc/classes/Mongrel/URIClassifier.src/{M000098.html → M000090.html} +1 -1
  166. data/doc/rdoc/classes/MongrelDbg.html +26 -26
  167. data/doc/rdoc/classes/MongrelDbg.src/M000005.html +24 -0
  168. data/doc/rdoc/classes/MongrelDbg.src/{M000016.html → M000006.html} +6 -6
  169. data/doc/rdoc/classes/MongrelDbg.src/{M000017.html → M000007.html} +8 -8
  170. data/doc/rdoc/classes/MongrelDbg.src/{M000018.html → M000008.html} +7 -7
  171. data/doc/rdoc/classes/MongrelDbg.src/{M000019.html → M000009.html} +4 -4
  172. data/doc/rdoc/classes/RequestLog/Access.html +5 -5
  173. data/doc/rdoc/classes/RequestLog/Access.src/{M000142.html → M000144.html} +5 -5
  174. data/doc/rdoc/classes/RequestLog/Files.html +5 -5
  175. data/doc/rdoc/classes/RequestLog/Files.src/{M000143.html → M000145.html} +5 -5
  176. data/doc/rdoc/classes/RequestLog/Objects.html +12 -6
  177. data/doc/rdoc/classes/RequestLog/Objects.src/M000147.html +51 -0
  178. data/doc/rdoc/classes/RequestLog/Params.html +5 -5
  179. data/doc/rdoc/classes/RequestLog/Params.src/{M000146.html → M000148.html} +5 -5
  180. data/doc/rdoc/classes/RequestLog/Threads.html +5 -5
  181. data/doc/rdoc/classes/RequestLog/Threads.src/{M000144.html → M000146.html} +20 -20
  182. data/doc/rdoc/classes/{ObjectTracker.html → Sync.html} +26 -45
  183. data/doc/rdoc/created.rid +1 -1
  184. data/doc/rdoc/files/COPYING.html +1 -1
  185. data/doc/rdoc/files/LICENSE.html +1 -1
  186. data/doc/rdoc/files/README.html +1 -1
  187. data/doc/rdoc/files/ext/http11/http11_c.html +1 -1
  188. data/doc/rdoc/files/lib/mongrel/camping_rb.html +1 -1
  189. data/doc/rdoc/files/lib/mongrel/cgi_rb.html +1 -1
  190. data/doc/rdoc/files/lib/mongrel/command_rb.html +1 -1
  191. data/doc/rdoc/files/lib/mongrel/configurator_rb.html +111 -0
  192. data/doc/rdoc/files/lib/mongrel/debug_rb.html +1 -1
  193. data/doc/rdoc/files/lib/mongrel/handlers_rb.html +1 -1
  194. data/doc/rdoc/files/lib/mongrel/init_rb.html +1 -1
  195. data/doc/rdoc/files/lib/mongrel/rails_rb.html +2 -1
  196. data/doc/rdoc/files/lib/mongrel/stats_rb.html +1 -1
  197. data/doc/rdoc/files/lib/mongrel/tcphack_rb.html +1 -1
  198. data/doc/rdoc/files/lib/mongrel_rb.html +2 -4
  199. data/doc/rdoc/fr_class_index.html +3 -2
  200. data/doc/rdoc/fr_file_index.html +1 -0
  201. data/doc/rdoc/fr_method_index.html +144 -142
  202. data/ext/http11/http11.c +69 -52
  203. data/ext/http11/http11_parser.c +366 -282
  204. data/ext/http11/http11_parser.h +2 -0
  205. data/ext/http11/http11_parser.rl +192 -0
  206. data/lib/mongrel.rb +127 -433
  207. data/lib/mongrel/cgi.rb +19 -6
  208. data/lib/mongrel/command.rb +15 -3
  209. data/lib/mongrel/configurator.rb +374 -0
  210. data/lib/mongrel/debug.rb +47 -56
  211. data/lib/mongrel/handlers.rb +16 -20
  212. data/lib/mongrel/rails.rb +36 -20
  213. data/lib/mongrel/stats.rb +60 -58
  214. data/test/test_conditional.rb +37 -30
  215. data/test/test_http11.rb +14 -14
  216. data/test/test_stats.rb +2 -2
  217. data/test/test_ws.rb +4 -2
  218. data/tools/rakehelp.rb +4 -4
  219. metadata +262 -260
  220. data/doc/rdoc/classes/Kernel.src/M000020.html +0 -19
  221. data/doc/rdoc/classes/Kernel.src/M000021.html +0 -23
  222. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000104.html +0 -27
  223. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000036.html +0 -24
  224. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000037.html +0 -24
  225. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000038.html +0 -18
  226. data/doc/rdoc/classes/Mongrel/Command/Registry.src/M000041.html +0 -50
  227. data/doc/rdoc/classes/Mongrel/Configurator.src/M000112.html +0 -20
  228. data/doc/rdoc/classes/Mongrel/Configurator.src/M000113.html +0 -20
  229. data/doc/rdoc/classes/Mongrel/Configurator.src/M000114.html +0 -23
  230. data/doc/rdoc/classes/Mongrel/Configurator.src/M000118.html +0 -30
  231. data/doc/rdoc/classes/Mongrel/Configurator.src/M000125.html +0 -25
  232. data/doc/rdoc/classes/Mongrel/Configurator.src/M000127.html +0 -35
  233. data/doc/rdoc/classes/Mongrel/Configurator.src/M000128.html +0 -18
  234. data/doc/rdoc/classes/Mongrel/Configurator.src/M000129.html +0 -33
  235. data/doc/rdoc/classes/Mongrel/Configurator.src/M000130.html +0 -18
  236. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000061.html +0 -63
  237. data/doc/rdoc/classes/Mongrel/HttpRequest.src/M000138.html +0 -56
  238. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000087.html +0 -31
  239. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000089.html +0 -20
  240. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000090.html +0 -20
  241. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000091.html +0 -20
  242. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000092.html +0 -18
  243. data/doc/rdoc/classes/Mongrel/HttpServer.src/M000068.html +0 -50
  244. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.src/M000046.html +0 -51
  245. data/doc/rdoc/classes/Mongrel/Rails/RailsHandler.src/M000047.html +0 -23
  246. data/doc/rdoc/classes/Mongrel/StatisticsFilter.src/M000133.html +0 -24
  247. data/doc/rdoc/classes/MongrelDbg.src/M000015.html +0 -19
  248. data/doc/rdoc/classes/ObjectTracker.src/M000013.html +0 -27
  249. data/doc/rdoc/classes/ObjectTracker.src/M000014.html +0 -44
  250. data/doc/rdoc/classes/RequestLog/Objects.src/M000145.html +0 -19
  251. data/doc/rdoc/classes/Stats.src/M000005.html +0 -19
  252. data/doc/rdoc/classes/Stats.src/M000006.html +0 -23
  253. data/doc/rdoc/classes/Stats.src/M000007.html +0 -26
  254. data/doc/rdoc/classes/Stats.src/M000008.html +0 -18
  255. data/doc/rdoc/classes/Stats.src/M000010.html +0 -18
  256. data/doc/rdoc/classes/Stats.src/M000011.html +0 -23
  257. data/doc/rdoc/classes/Stats.src/M000012.html +0 -20
  258. data/lib/http11.so +0 -0
@@ -10,9 +10,9 @@
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/mongrel.rb, line 40</span>
14
- 40: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uris</span>
15
- 41: <span class="ruby-ivar">@handler_map</span>.<span class="ruby-identifier">keys</span>
16
- 42: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel.rb, line 36</span>
14
+ 36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uris</span>
15
+ 37: <span class="ruby-ivar">@handler_map</span>.<span class="ruby-identifier">keys</span>
16
+ 38: <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -10,9 +10,9 @@
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/mongrel.rb, line 45</span>
14
- 45: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
15
- 46: <span class="ruby-ivar">@handler_map</span>.<span class="ruby-identifier">inspect</span>
16
- 47: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel.rb, line 41</span>
14
+ 41: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
15
+ 42: <span class="ruby-ivar">@handler_map</span>.<span class="ruby-identifier">inspect</span>
16
+ 43: <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -42,7 +42,7 @@ VALUE URIClassifier_register(VALUE self, VALUE uri, VALUE handler)
42
42
  } else if(rc == TST_NULL_KEY) {
43
43
  rb_raise(rb_eStandardError, &quot;URI was empty&quot;);
44
44
  }
45
-
45
+
46
46
  rb_hash_aset(rb_ivar_get(self, id_handler_map), uri, handler);
47
47
 
48
48
  return Qnil;
@@ -68,7 +68,7 @@ VALUE URIClassifier_resolve(VALUE self, VALUE uri)
68
68
  // matches a script so process like normal
69
69
  rb_ary_push(result, rb_str_substr(uri, pref_len, RSTRING(uri)-&gt;len));
70
70
  }
71
-
71
+
72
72
  rb_ary_push(result, (VALUE)handler);
73
73
  } else {
74
74
  // not found so push back nothing
@@ -80,11 +80,11 @@
80
80
  <h3 class="section-bar">Methods</h3>
81
81
 
82
82
  <div class="name-list">
83
- <a href="#M000017">begin_trace</a>&nbsp;&nbsp;
84
- <a href="#M000015">configure</a>&nbsp;&nbsp;
85
- <a href="#M000018">end_trace</a>&nbsp;&nbsp;
86
- <a href="#M000016">trace</a>&nbsp;&nbsp;
87
- <a href="#M000019">tracing?</a>&nbsp;&nbsp;
83
+ <a href="#M000007">begin_trace</a>&nbsp;&nbsp;
84
+ <a href="#M000005">configure</a>&nbsp;&nbsp;
85
+ <a href="#M000008">end_trace</a>&nbsp;&nbsp;
86
+ <a href="#M000006">trace</a>&nbsp;&nbsp;
87
+ <a href="#M000009">tracing?</a>&nbsp;&nbsp;
88
88
  </div>
89
89
  </div>
90
90
 
@@ -124,12 +124,12 @@
124
124
  <div id="methods">
125
125
  <h3 class="section-bar">Public Class methods</h3>
126
126
 
127
- <div id="method-M000017" class="method-detail">
128
- <a name="M000017"></a>
127
+ <div id="method-M000007" class="method-detail">
128
+ <a name="M000007"></a>
129
129
 
130
130
  <div class="method-heading">
131
- <a href="MongrelDbg.src/M000017.html" target="Code" class="method-signature"
132
- onclick="popupCode('MongrelDbg.src/M000017.html');return false;">
131
+ <a href="MongrelDbg.src/M000007.html" target="Code" class="method-signature"
132
+ onclick="popupCode('MongrelDbg.src/M000007.html');return false;">
133
133
  <span class="method-name">begin_trace</span><span class="method-args">(target)</span>
134
134
  </a>
135
135
  </div>
@@ -138,13 +138,13 @@
138
138
  </div>
139
139
  </div>
140
140
 
141
- <div id="method-M000015" class="method-detail">
142
- <a name="M000015"></a>
141
+ <div id="method-M000005" class="method-detail">
142
+ <a name="M000005"></a>
143
143
 
144
144
  <div class="method-heading">
145
- <a href="MongrelDbg.src/M000015.html" target="Code" class="method-signature"
146
- onclick="popupCode('MongrelDbg.src/M000015.html');return false;">
147
- <span class="method-name">configure</span><span class="method-args">(log_dir = &quot;log/mongrel_debug&quot;)</span>
145
+ <a href="MongrelDbg.src/M000005.html" target="Code" class="method-signature"
146
+ onclick="popupCode('MongrelDbg.src/M000005.html');return false;">
147
+ <span class="method-name">configure</span><span class="method-args">(log_dir = File.join(&quot;log&quot;,&quot;mongrel_debug&quot;))</span>
148
148
  </a>
149
149
  </div>
150
150
 
@@ -152,12 +152,12 @@
152
152
  </div>
153
153
  </div>
154
154
 
155
- <div id="method-M000018" class="method-detail">
156
- <a name="M000018"></a>
155
+ <div id="method-M000008" class="method-detail">
156
+ <a name="M000008"></a>
157
157
 
158
158
  <div class="method-heading">
159
- <a href="MongrelDbg.src/M000018.html" target="Code" class="method-signature"
160
- onclick="popupCode('MongrelDbg.src/M000018.html');return false;">
159
+ <a href="MongrelDbg.src/M000008.html" target="Code" class="method-signature"
160
+ onclick="popupCode('MongrelDbg.src/M000008.html');return false;">
161
161
  <span class="method-name">end_trace</span><span class="method-args">(target)</span>
162
162
  </a>
163
163
  </div>
@@ -166,12 +166,12 @@
166
166
  </div>
167
167
  </div>
168
168
 
169
- <div id="method-M000016" class="method-detail">
170
- <a name="M000016"></a>
169
+ <div id="method-M000006" class="method-detail">
170
+ <a name="M000006"></a>
171
171
 
172
172
  <div class="method-heading">
173
- <a href="MongrelDbg.src/M000016.html" target="Code" class="method-signature"
174
- onclick="popupCode('MongrelDbg.src/M000016.html');return false;">
173
+ <a href="MongrelDbg.src/M000006.html" target="Code" class="method-signature"
174
+ onclick="popupCode('MongrelDbg.src/M000006.html');return false;">
175
175
  <span class="method-name">trace</span><span class="method-args">(target, message)</span>
176
176
  </a>
177
177
  </div>
@@ -180,12 +180,12 @@
180
180
  </div>
181
181
  </div>
182
182
 
183
- <div id="method-M000019" class="method-detail">
184
- <a name="M000019"></a>
183
+ <div id="method-M000009" class="method-detail">
184
+ <a name="M000009"></a>
185
185
 
186
186
  <div class="method-heading">
187
- <a href="MongrelDbg.src/M000019.html" target="Code" class="method-signature"
188
- onclick="popupCode('MongrelDbg.src/M000019.html');return false;">
187
+ <a href="MongrelDbg.src/M000009.html" target="Code" class="method-signature"
188
+ onclick="popupCode('MongrelDbg.src/M000009.html');return false;">
189
189
  <span class="method-name">tracing?</span><span class="method-args">(target)</span>
190
190
  </a>
191
191
  </div>
@@ -0,0 +1,24 @@
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>configure (MongrelDbg)</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/mongrel/debug.rb, line 19</span>
14
+ 19: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">configure</span>(<span class="ruby-identifier">log_dir</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">&quot;log&quot;</span>,<span class="ruby-value str">&quot;mongrel_debug&quot;</span>))
15
+ 20: <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">mkdir</span>(<span class="ruby-identifier">log_dir</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">log_dir</span>)
16
+ 21: <span class="ruby-ivar">@log_dir</span> = <span class="ruby-identifier">log_dir</span>
17
+ 22: <span class="ruby-identifier">$objects_out</span>=<span class="ruby-identifier">open</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">&quot;log&quot;</span>,<span class="ruby-value str">&quot;mongrel_debug&quot;</span>,<span class="ruby-value str">&quot;objects.log&quot;</span>),<span class="ruby-value str">&quot;w&quot;</span>)
18
+ 23: <span class="ruby-identifier">$objects_out</span>.<span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;run,classname,last,count,delta,lenmean,lensd,lenmax&quot;</span>
19
+ 24: <span class="ruby-identifier">$objects_out</span>.<span class="ruby-identifier">sync</span> = <span class="ruby-keyword kw">true</span>
20
+ 25: <span class="ruby-identifier">$last_stat</span> = <span class="ruby-keyword kw">nil</span>
21
+ 26: <span class="ruby-identifier">$run_count</span> = <span class="ruby-value">0</span>
22
+ 27: <span class="ruby-keyword kw">end</span></pre>
23
+ </body>
24
+ </html>
@@ -10,11 +10,11 @@
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/mongrel/debug.rb, line 23</span>
14
- 23: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">trace</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">message</span>)
15
- 24: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">SETTINGS</span>[<span class="ruby-identifier">:tracing</span>][<span class="ruby-identifier">target</span>] <span class="ruby-keyword kw">and</span> <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>]
16
- 25: <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>].<span class="ruby-identifier">log</span>(<span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>, <span class="ruby-identifier">message</span>)
17
- 26: <span class="ruby-keyword kw">end</span>
18
- 27: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel/debug.rb, line 30</span>
14
+ 30: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">trace</span>(<span class="ruby-identifier">target</span>, <span class="ruby-identifier">message</span>)
15
+ 31: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">SETTINGS</span>[<span class="ruby-identifier">:tracing</span>][<span class="ruby-identifier">target</span>] <span class="ruby-keyword kw">and</span> <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>]
16
+ 32: <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>].<span class="ruby-identifier">log</span>(<span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">DEBUG</span>, <span class="ruby-identifier">message</span>)
17
+ 33: <span class="ruby-keyword kw">end</span>
18
+ 34: <span class="ruby-keyword kw">end</span></pre>
19
19
  </body>
20
20
  </html>
@@ -10,13 +10,13 @@
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/mongrel/debug.rb, line 29</span>
14
- 29: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">begin_trace</span>(<span class="ruby-identifier">target</span>)
15
- 30: <span class="ruby-constant">SETTINGS</span>[<span class="ruby-identifier">:tracing</span>][<span class="ruby-identifier">target</span>] = <span class="ruby-keyword kw">true</span>
16
- 31: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>]
17
- 32: <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>] = <span class="ruby-constant">Logger</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-ivar">@log_dir</span>, <span class="ruby-node">&quot;#{target.to_s}.log&quot;</span>))
18
- 33: <span class="ruby-keyword kw">end</span>
19
- 34: <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">trace</span>(<span class="ruby-identifier">target</span>, <span class="ruby-node">&quot;TRACING ON #{Time.now}&quot;</span>)
20
- 35: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel/debug.rb, line 36</span>
14
+ 36: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">begin_trace</span>(<span class="ruby-identifier">target</span>)
15
+ 37: <span class="ruby-constant">SETTINGS</span>[<span class="ruby-identifier">:tracing</span>][<span class="ruby-identifier">target</span>] = <span class="ruby-keyword kw">true</span>
16
+ 38: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>]
17
+ 39: <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>] = <span class="ruby-constant">Logger</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-ivar">@log_dir</span>, <span class="ruby-node">&quot;#{target.to_s}.log&quot;</span>))
18
+ 40: <span class="ruby-keyword kw">end</span>
19
+ 41: <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">trace</span>(<span class="ruby-identifier">target</span>, <span class="ruby-node">&quot;TRACING ON #{Time.now}&quot;</span>)
20
+ 42: <span class="ruby-keyword kw">end</span></pre>
21
21
  </body>
22
22
  </html>
@@ -10,12 +10,12 @@
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/mongrel/debug.rb, line 37</span>
14
- 37: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">end_trace</span>(<span class="ruby-identifier">target</span>)
15
- 38: <span class="ruby-constant">SETTINGS</span>[<span class="ruby-identifier">:tracing</span>][<span class="ruby-identifier">target</span>] = <span class="ruby-keyword kw">false</span>
16
- 39: <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">trace</span>(<span class="ruby-identifier">target</span>, <span class="ruby-node">&quot;TRACING OFF #{Time.now}&quot;</span>)
17
- 40: <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>].<span class="ruby-identifier">close</span>
18
- 41: <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>] = <span class="ruby-keyword kw">nil</span>
19
- 42: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel/debug.rb, line 44</span>
14
+ 44: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">end_trace</span>(<span class="ruby-identifier">target</span>)
15
+ 45: <span class="ruby-constant">SETTINGS</span>[<span class="ruby-identifier">:tracing</span>][<span class="ruby-identifier">target</span>] = <span class="ruby-keyword kw">false</span>
16
+ 46: <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">trace</span>(<span class="ruby-identifier">target</span>, <span class="ruby-node">&quot;TRACING OFF #{Time.now}&quot;</span>)
17
+ 47: <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>].<span class="ruby-identifier">close</span>
18
+ 48: <span class="ruby-constant">LOGGING</span>[<span class="ruby-identifier">target</span>] = <span class="ruby-keyword kw">nil</span>
19
+ 49: <span class="ruby-keyword kw">end</span></pre>
20
20
  </body>
21
21
  </html>
@@ -10,9 +10,9 @@
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/mongrel/debug.rb, line 44</span>
14
- 44: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">tracing?</span>(<span class="ruby-identifier">target</span>)
15
- 45: <span class="ruby-constant">SETTINGS</span>[<span class="ruby-identifier">:tracing</span>][<span class="ruby-identifier">target</span>]
16
- 46: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel/debug.rb, line 51</span>
14
+ 51: <span class="ruby-keyword kw">def</span> <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">tracing?</span>(<span class="ruby-identifier">target</span>)
15
+ 52: <span class="ruby-constant">SETTINGS</span>[<span class="ruby-identifier">:tracing</span>][<span class="ruby-identifier">target</span>]
16
+ 53: <span class="ruby-keyword kw">end</span></pre>
17
17
  </body>
18
18
  </html>
@@ -93,7 +93,7 @@ log when daemonized).
93
93
  <h3 class="section-bar">Methods</h3>
94
94
 
95
95
  <div class="name-list">
96
- <a href="#M000142">process</a>&nbsp;&nbsp;
96
+ <a href="#M000144">process</a>&nbsp;&nbsp;
97
97
  </div>
98
98
  </div>
99
99
 
@@ -122,12 +122,12 @@ log when daemonized).
122
122
  <div id="methods">
123
123
  <h3 class="section-bar">Public Instance methods</h3>
124
124
 
125
- <div id="method-M000142" class="method-detail">
126
- <a name="M000142"></a>
125
+ <div id="method-M000144" class="method-detail">
126
+ <a name="M000144"></a>
127
127
 
128
128
  <div class="method-heading">
129
- <a href="Access.src/M000142.html" target="Code" class="method-signature"
130
- onclick="popupCode('Access.src/M000142.html');return false;">
129
+ <a href="Access.src/M000144.html" target="Code" class="method-signature"
130
+ onclick="popupCode('Access.src/M000144.html');return false;">
131
131
  <span class="method-name">process</span><span class="method-args">(request,response)</span>
132
132
  </a>
133
133
  </div>
@@ -10,10 +10,10 @@
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/mongrel/debug.rb, line 143</span>
14
- 143: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process</span>(<span class="ruby-identifier">request</span>,<span class="ruby-identifier">response</span>)
15
- 144: <span class="ruby-identifier">p</span> = <span class="ruby-identifier">request</span>.<span class="ruby-identifier">params</span>
16
- 145: <span class="ruby-constant">STDERR</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;#{p['REMOTE_ADDR']} - [#{Time.now.httpdate}] \&quot;#{p['REQUEST_METHOD']} #{p[&quot;REQUEST_URI&quot;]} HTTP/1.1\&quot;&quot;</span>
17
- 146: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel/debug.rb, line 103</span>
14
+ 103: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process</span>(<span class="ruby-identifier">request</span>,<span class="ruby-identifier">response</span>)
15
+ 104: <span class="ruby-identifier">p</span> = <span class="ruby-identifier">request</span>.<span class="ruby-identifier">params</span>
16
+ 105: <span class="ruby-constant">STDERR</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;#{p['REMOTE_ADDR']} - [#{Time.now.httpdate}] \&quot;#{p['REQUEST_METHOD']} #{p[&quot;REQUEST_URI&quot;]} HTTP/1.1\&quot;&quot;</span>
17
+ 106: <span class="ruby-keyword kw">end</span></pre>
18
18
  </body>
19
19
  </html>
@@ -86,7 +86,7 @@
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000143">process</a>&nbsp;&nbsp;
89
+ <a href="#M000145">process</a>&nbsp;&nbsp;
90
90
  </div>
91
91
  </div>
92
92
 
@@ -115,12 +115,12 @@
115
115
  <div id="methods">
116
116
  <h3 class="section-bar">Public Instance methods</h3>
117
117
 
118
- <div id="method-M000143" class="method-detail">
119
- <a name="M000143"></a>
118
+ <div id="method-M000145" class="method-detail">
119
+ <a name="M000145"></a>
120
120
 
121
121
  <div class="method-heading">
122
- <a href="Files.src/M000143.html" target="Code" class="method-signature"
123
- onclick="popupCode('Files.src/M000143.html');return false;">
122
+ <a href="Files.src/M000145.html" target="Code" class="method-signature"
123
+ onclick="popupCode('Files.src/M000145.html');return false;">
124
124
  <span class="method-name">process</span><span class="method-args">(request, response)</span>
125
125
  </a>
126
126
  </div>
@@ -10,10 +10,10 @@
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/mongrel/debug.rb, line 153</span>
14
- 153: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process</span>(<span class="ruby-identifier">request</span>, <span class="ruby-identifier">response</span>)
15
- 154: <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">trace</span>(<span class="ruby-identifier">:files</span>, <span class="ruby-node">&quot;#{Time.now} FILES OPEN BEFORE REQUEST #{request.params['PATH_INFO']}&quot;</span>)
16
- 155: <span class="ruby-identifier">log_open_files</span>
17
- 156: <span class="ruby-keyword kw">end</span></pre>
13
+ <pre> <span class="ruby-comment cmt"># File lib/mongrel/debug.rb, line 113</span>
14
+ 113: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process</span>(<span class="ruby-identifier">request</span>, <span class="ruby-identifier">response</span>)
15
+ 114: <span class="ruby-constant">MongrelDbg</span><span class="ruby-operator">::</span><span class="ruby-identifier">trace</span>(<span class="ruby-identifier">:files</span>, <span class="ruby-node">&quot;#{Time.now} FILES OPEN BEFORE REQUEST #{request.params['PATH_INFO']}&quot;</span>)
16
+ 115: <span class="ruby-identifier">log_open_files</span>
17
+ 116: <span class="ruby-keyword kw">end</span></pre>
18
18
  </body>
19
19
  </html>
@@ -78,6 +78,12 @@
78
78
 
79
79
  <div id="contextContent">
80
80
 
81
+ <div id="description">
82
+ <p>
83
+ stolen from Robert Klemme
84
+ </p>
85
+
86
+ </div>
81
87
 
82
88
 
83
89
  </div>
@@ -86,7 +92,7 @@
86
92
  <h3 class="section-bar">Methods</h3>
87
93
 
88
94
  <div class="name-list">
89
- <a href="#M000145">process</a>&nbsp;&nbsp;
95
+ <a href="#M000147">process</a>&nbsp;&nbsp;
90
96
  </div>
91
97
  </div>
92
98
 
@@ -115,13 +121,13 @@
115
121
  <div id="methods">
116
122
  <h3 class="section-bar">Public Instance methods</h3>
117
123
 
118
- <div id="method-M000145" class="method-detail">
119
- <a name="M000145"></a>
124
+ <div id="method-M000147" class="method-detail">
125
+ <a name="M000147"></a>
120
126
 
121
127
  <div class="method-heading">
122
- <a href="Objects.src/M000145.html" target="Code" class="method-signature"
123
- onclick="popupCode('Objects.src/M000145.html');return false;">
124
- <span class="method-name">process</span><span class="method-args">(request, response)</span>
128
+ <a href="Objects.src/M000147.html" target="Code" class="method-signature"
129
+ onclick="popupCode('Objects.src/M000147.html');return false;">
130
+ <span class="method-name">process</span><span class="method-args">(request,response)</span>
125
131
  </a>
126
132
  </div>
127
133
 
@@ -0,0 +1,51 @@
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>process (RequestLog::Objects)</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/mongrel/debug.rb, line 124</span>
14
+ 124: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">process</span>(<span class="ruby-identifier">request</span>,<span class="ruby-identifier">response</span>)
15
+ 125: <span class="ruby-keyword kw">begin</span>
16
+ 126: <span class="ruby-identifier">stats</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">0</span>)
17
+ 127: <span class="ruby-identifier">lengths</span> = {}
18
+ 128: <span class="ruby-constant">ObjectSpace</span>.<span class="ruby-identifier">each_object</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">o</span><span class="ruby-operator">|</span>
19
+ 129: <span class="ruby-keyword kw">begin</span>
20
+ 130: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">o</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-identifier">:length</span>
21
+ 131: <span class="ruby-identifier">len</span> = <span class="ruby-identifier">o</span>.<span class="ruby-identifier">length</span>
22
+ 132: <span class="ruby-identifier">lengths</span>[<span class="ruby-identifier">o</span>.<span class="ruby-identifier">class</span>] <span class="ruby-operator">||=</span> <span class="ruby-constant">Mongrel</span><span class="ruby-operator">::</span><span class="ruby-constant">Stats</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">o</span>.<span class="ruby-identifier">class</span>)
23
+ 133: <span class="ruby-identifier">lengths</span>[<span class="ruby-identifier">o</span>.<span class="ruby-identifier">class</span>].<span class="ruby-identifier">sample</span>(<span class="ruby-identifier">len</span>)
24
+ 134: <span class="ruby-keyword kw">end</span>
25
+ 135: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Object</span>
26
+ 136: <span class="ruby-keyword kw">end</span>
27
+ 137:
28
+ 138: <span class="ruby-identifier">stats</span>[<span class="ruby-identifier">o</span>.<span class="ruby-identifier">class</span>] <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
29
+ 139: <span class="ruby-keyword kw">end</span>
30
+ 140:
31
+ 141: <span class="ruby-identifier">stats</span>.<span class="ruby-identifier">sort</span> {<span class="ruby-operator">|</span>(<span class="ruby-identifier">k1</span>,<span class="ruby-identifier">v1</span>),(<span class="ruby-identifier">k2</span>,<span class="ruby-identifier">v2</span>)<span class="ruby-operator">|</span> <span class="ruby-identifier">v2</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">v1</span>}.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span>
32
+ 142: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$last_stat</span>
33
+ 143: <span class="ruby-identifier">delta</span> = <span class="ruby-identifier">v</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">$last_stat</span>[<span class="ruby-identifier">k</span>]
34
+ 144: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">v</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">10</span> <span class="ruby-keyword kw">and</span> <span class="ruby-identifier">delta</span> <span class="ruby-operator">!=</span> <span class="ruby-value">0</span>
35
+ 145: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">lengths</span>[<span class="ruby-identifier">k</span>]
36
+ 146: <span class="ruby-identifier">$objects_out</span>.<span class="ruby-identifier">printf</span> <span class="ruby-value str">&quot;%d,%s,%d,%d,%d,%f,%f,%f\n&quot;</span>, <span class="ruby-identifier">$run_count</span>, <span class="ruby-identifier">k</span>, <span class="ruby-identifier">$last_stat</span>[<span class="ruby-identifier">k</span>], <span class="ruby-identifier">v</span>, <span class="ruby-identifier">delta</span>,<span class="ruby-identifier">lengths</span>[<span class="ruby-identifier">k</span>].<span class="ruby-identifier">mean</span>,<span class="ruby-identifier">lengths</span>[<span class="ruby-identifier">k</span>].<span class="ruby-identifier">sd</span>,<span class="ruby-identifier">lengths</span>[<span class="ruby-identifier">k</span>].<span class="ruby-identifier">max</span>
37
+ 147: <span class="ruby-keyword kw">else</span>
38
+ 148: <span class="ruby-identifier">$objects_out</span>.<span class="ruby-identifier">printf</span> <span class="ruby-value str">&quot;%d,%s,%d,%d,%d,,,\n&quot;</span>, <span class="ruby-identifier">$run_count</span>, <span class="ruby-identifier">k</span>, <span class="ruby-identifier">$last_stat</span>[<span class="ruby-identifier">k</span>], <span class="ruby-identifier">v</span>, <span class="ruby-identifier">delta</span>
39
+ 149: <span class="ruby-keyword kw">end</span>
40
+ 150: <span class="ruby-keyword kw">end</span>
41
+ 151: <span class="ruby-keyword kw">end</span>
42
+ 152: <span class="ruby-keyword kw">end</span>
43
+ 153:
44
+ 154: <span class="ruby-identifier">$run_count</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
45
+ 155: <span class="ruby-identifier">$last_stat</span> = <span class="ruby-identifier">stats</span>
46
+ 156: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Object</span>
47
+ 157: <span class="ruby-constant">STDERR</span>.<span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;object.log ERROR: #$!&quot;</span>
48
+ 158: <span class="ruby-keyword kw">end</span>
49
+ 159: <span class="ruby-keyword kw">end</span></pre>
50
+ </body>
51
+ </html>
@@ -86,7 +86,7 @@
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000146">process</a>&nbsp;&nbsp;
89
+ <a href="#M000148">process</a>&nbsp;&nbsp;
90
90
  </div>
91
91
  </div>
92
92
 
@@ -115,12 +115,12 @@
115
115
  <div id="methods">
116
116
  <h3 class="section-bar">Public Instance methods</h3>
117
117
 
118
- <div id="method-M000146" class="method-detail">
119
- <a name="M000146"></a>
118
+ <div id="method-M000148" class="method-detail">
119
+ <a name="M000148"></a>
120
120
 
121
121
  <div class="method-heading">
122
- <a href="Params.src/M000146.html" target="Code" class="method-signature"
123
- onclick="popupCode('Params.src/M000146.html');return false;">
122
+ <a href="Params.src/M000148.html" target="Code" class="method-signature"
123
+ onclick="popupCode('Params.src/M000148.html');return false;">
124
124
  <span class="method-name">process</span><span class="method-args">(request, response)</span>
125
125
  </a>
126
126
  </div>