http_spew 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog DELETED
@@ -1,546 +0,0 @@
1
- ChangeLog from http://bogomips.org/http_spew.git
2
-
3
- commit 9627a9f5e2c4673b2e7f98d4877d631597c9f2ee
4
- Author: Eric Wong <normalperson@yhbt.net>
5
- Date: Sat Sep 22 17:01:02 2012 -0700
6
-
7
- http_spew 0.4.1
8
-
9
- Fix formatting of user-supplied headers.
10
-
11
- commit 9597ec51093b2248eb6e22dc4bd5b5057ed3261c
12
- Author: Eric Wong <normalperson@yhbt.net>
13
- Date: Sat Sep 22 16:59:49 2012 -0700
14
-
15
- headers: fix swapping of "_" for "-"
16
-
17
- This breaks on some strict HTTP parsers.
18
-
19
- commit 0e7be47dae62ffbbb5f69d42daea21e4f66ead0c
20
- Author: Eric Wong <normalperson@yhbt.net>
21
- Date: Thu Nov 3 00:23:03 2011 +0000
22
-
23
- http_spew 0.4.0
24
-
25
- Bump kgio dependency to the latest version to remove
26
- need for IO#wait.
27
-
28
- commit b11b3d1b4212b5d6a8df12d365eeee50668439e1
29
- Author: Eric Wong <normalperson@yhbt.net>
30
- Date: Mon Oct 31 17:25:49 2011 -0700
31
-
32
- use kgio_wait_readable instead of IO#wait
33
-
34
- Newer kgio (2.5 and later) expose an optional timeout for
35
- kgio_wait_readable. IO#wait will unnecessarily call ioctl(2)
36
- with FIONREAD.
37
-
38
- commit 1817385f5e72515d64c3b1296bc20af8b0c0423a
39
- Author: Eric Wong <normalperson@yhbt.net>
40
- Date: Thu Jun 9 14:02:58 2011 -0700
41
-
42
- gemspec: update kcar dependency
43
-
44
- kcar 0.3.0 has minor improvements
45
-
46
- commit b53bbc7852d9788099e514b54a0b90d82a3338bb
47
- Author: Eric Wong <normalperson@yhbt.net>
48
- Date: Wed May 11 23:25:49 2011 +0000
49
-
50
- http_spew 0.3.0 - ContentMD5 improvements
51
-
52
- There are minor changes to HTTP_Spew::ContentMD5:
53
- * allow optional input param to initialize
54
- * update bytes_digested for incomplete xfers
55
-
56
- Still not API-stable, but maybe it's closer...
57
-
58
- commit 9d42089445aa2b61a50bf9a57a6f839569f4a1d4
59
- Author: Eric Wong <normalperson@yhbt.net>
60
- Date: Wed May 11 21:05:04 2011 +0000
61
-
62
- content_md5: update bytes_digested for incomplete xfers
63
-
64
- Being able to track progress is good.
65
-
66
- commit 1a71f9204211061460e05e92c5523744b9b18afb
67
- Author: Eric Wong <normalperson@yhbt.net>
68
- Date: Wed May 11 20:08:20 2011 +0000
69
-
70
- content_md5: optional input param to initialize
71
-
72
- This allows users to specify an alternate input without
73
- modifying the Rack +env+. This is potentially useful for
74
- chaining other filters.
75
-
76
- commit 84eaf4df3da4ef55e21649b971f2f246ab556b52
77
- Author: Eric Wong <normalperson@yhbt.net>
78
- Date: Tue May 10 14:40:53 2011 -0700
79
-
80
- http_spew 0.2.0 - bugfixes and improvements
81
-
82
- InputSpray may now be layered on top of ContentMD5 successfully.
83
- Improved multi-threading abilities and tests.
84
-
85
- Do not consider the API remotely stable, yet.
86
-
87
- commit 02e333f025fb31e3384941c8c890b94394f98c34
88
- Author: Eric Wong <normalperson@yhbt.net>
89
- Date: Mon May 9 12:07:14 2011 -0700
90
-
91
- test: disable rewindable input for Unicorn
92
-
93
- In most cases, it's a feature we do not want.
94
-
95
- commit c4b3c9d4231655b053472d47046d5512e55a79a9
96
- Author: Eric Wong <normalperson@yhbt.net>
97
- Date: Mon May 9 19:03:27 2011 +0000
98
-
99
- request: fix bad constant reference
100
-
101
- Oops :<
102
-
103
- commit 8849da940687bd6433cf4b18cb4096f6867f3b3e
104
- Author: Eric Wong <normalperson@yhbt.net>
105
- Date: Mon May 9 18:32:28 2011 +0000
106
-
107
- content_md5: switch back to pipe for tee-ability
108
-
109
- This will save memory bandwidth down the line on Linux
110
-
111
- commit 8c47ed775e7d40291660354bff29efea3d6f177a
112
- Author: Eric Wong <normalperson@yhbt.net>
113
- Date: Sat May 7 02:20:28 2011 +0000
114
-
115
- content_md5: small garbage reduction
116
-
117
- Might help somewhere...
118
-
119
- commit ec0ff47df8c4068da2977cc9cb444caaac17b571
120
- Author: Eric Wong <normalperson@yhbt.net>
121
- Date: Sat May 7 01:52:16 2011 +0000
122
-
123
- improve reliability of input_spray
124
-
125
- Use pipes to avoid race condidions and deadlocks
126
-
127
- commit 8157576344b9fcf98e85aafcc958c6ebe385b55b
128
- Author: Eric Wong <normalperson@yhbt.net>
129
- Date: Fri May 6 20:38:43 2011 +0000
130
-
131
- update to kgio 2.4.0
132
-
133
- Kgio.poll no longer returns EINTR
134
-
135
- commit af2462a69eae821d6160fd2c2e571a589088977c
136
- Author: Eric Wong <normalperson@yhbt.net>
137
- Date: Thu May 5 16:53:53 2011 -0700
138
-
139
- chunky_pipe: better error checking
140
-
141
- commit 58ec2331a74ae472694fddae03f4ff454a801444
142
- Author: Eric Wong <normalperson@yhbt.net>
143
- Date: Thu May 5 16:53:04 2011 -0700
144
-
145
- test_request: longer timeout for tests
146
-
147
- This increases reliability, hopefully
148
-
149
- commit 014cfa31df238a6b7a7e1652442613eed841b757
150
- Author: Eric Wong <normalperson@yhbt.net>
151
- Date: Wed May 4 18:11:22 2011 -0700
152
-
153
- class_methods: fix race/deadlock issues
154
-
155
- commit 254b6917d15d4bc013d9ca6889dc802b41592903
156
- Author: Eric Wong <normalperson@yhbt.net>
157
- Date: Wed Apr 20 17:53:14 2011 -0700
158
-
159
- GNUmakefile: version file is added to gem
160
-
161
- It's kinda useless otherwise...
162
-
163
- commit 20fc09850031fb0a26f71ceafd15c93b924582f9
164
- Author: Eric Wong <normalperson@yhbt.net>
165
- Date: Wed Apr 20 17:44:01 2011 -0700
166
-
167
- content_md5: stop using a pipe + thread
168
-
169
- Too complex.
170
-
171
- commit 7ac87f270c2583262ea923960c7cbb8a9b1f2dea
172
- Author: Eric Wong <normalperson@yhbt.net>
173
- Date: Wed Apr 20 17:43:41 2011 -0700
174
-
175
- test_upload: more robust test case
176
-
177
- Servers can be super fast.
178
-
179
- commit 5e7e0553b7b435940afd478b83ebc265f31fdcf3
180
- Author: Eric Wong <normalperson@yhbt.net>
181
- Date: Wed Apr 20 17:43:13 2011 -0700
182
-
183
- test_upload: fix timeout for seconds
184
-
185
- HTTP_Spew.wait is now in seconds, not milliseconds
186
-
187
- commit 33ae61959c657b5c60c2b7d9adb137ad46b24a15
188
- Author: Eric Wong <normalperson@yhbt.net>
189
- Date: Wed Apr 20 16:53:13 2011 -0700
190
-
191
- request: handle EOF on read properly
192
-
193
- "eof!" was never a method :x
194
-
195
- commit f524b02e638cf6ec138f92538cf169edf524326c
196
- Author: Eric Wong <normalperson@yhbt.net>
197
- Date: Wed Apr 20 16:52:34 2011 -0700
198
-
199
- content_md5: use kgio_write instead of IO#write
200
-
201
- for consistency, not that we really take advantage
202
- of kgio_write at the moment...
203
-
204
- commit 3dd4f8c357b687bc1bf47785253e84cd7caa4661
205
- Author: Eric Wong <normalperson@yhbt.net>
206
- Date: Wed Apr 20 16:52:07 2011 -0700
207
-
208
- input_spray: kill needless ivar assignment
209
-
210
- Nothing references the writer thread.
211
-
212
- commit b3dc72f3762b737bfc5dbed2d3d296a61879dc09
213
- Author: Eric Wong <normalperson@yhbt.net>
214
- Date: Wed Apr 20 16:51:23 2011 -0700
215
-
216
- test/helper: use Thread.abort_on_exception = true
217
-
218
- We want to detect failures during testing and fail hard
219
-
220
- commit bde96ebe0c31508a4128542fce8753ba5e7403d7
221
- Author: Eric Wong <normalperson@yhbt.net>
222
- Date: Wed Apr 20 16:09:18 2011 -0700
223
-
224
- remove timed_queue class
225
-
226
- We don't need it, a mutex is all we need.
227
-
228
- commit 9e5c03f84e4961d236398d416d526eef8344f98f
229
- Author: Eric Wong <normalperson@yhbt.net>
230
- Date: Wed Apr 20 15:42:53 2011 -0700
231
-
232
- auto-generate version.rb file based on git version
233
-
234
- It's helpful for people using in-development versions
235
- of the code.
236
-
237
- commit 6657070f27364688bba503c7e58add6dfe4dd8bf
238
- Author: Eric Wong <normalperson@yhbt.net>
239
- Date: Wed Apr 20 15:34:20 2011 -0700
240
-
241
- reorganize class methods and exceptions
242
-
243
- Also none of the exceptions we raise are for programming/user
244
- so don't bother generating an expensive backtrace.
245
-
246
- commit 100c23e10910bb8daff5507fd69f5d951b804672
247
- Author: Eric Wong <normalperson@yhbt.net>
248
- Date: Wed Apr 20 15:12:27 2011 -0700
249
-
250
- request: support limiting accepted response codes
251
-
252
- Some apps don't want certain responses and we won't
253
- treat that as valid.
254
-
255
- commit 67e23586d908eeed510508405dcdbee1dc5f9033
256
- Author: Eric Wong <normalperson@yhbt.net>
257
- Date: Wed Apr 20 14:49:06 2011 -0700
258
-
259
- wait_mt: simplify
260
-
261
- commit d2e882bdf763319ab149044440fe9bf108d46bc4
262
- Author: Eric Wong <normalperson@yhbt.net>
263
- Date: Wed Apr 20 14:29:26 2011 -0700
264
-
265
- timed_queue: fix unused variable warning
266
-
267
- commit 87cb2f5328bc20245a53a8462e6c1324c977189e
268
- Author: Eric Wong <normalperson@yhbt.net>
269
- Date: Wed Apr 20 14:17:20 2011 -0700
270
-
271
- content_md5: make this a read-only IO-like object
272
-
273
- It's easier to use this way since we'll also be able
274
- to see the Content-MD5 and number of bytes digested.
275
-
276
- commit 4a3f8cae93d12ebea896227e789d01912a3d55f3
277
- Author: Eric Wong <normalperson@yhbt.net>
278
- Date: Wed Apr 20 14:01:39 2011 -0700
279
-
280
- chunky_pipe: autoclose on EOF
281
-
282
- Since env["rack.input"] can't reliably be closed any
283
- other way.
284
-
285
- commit 0b6c35740ab1dd0ac64183b9ae0f1a5c710e4022
286
- Author: Eric Wong <normalperson@yhbt.net>
287
- Date: Thu Apr 14 15:19:02 2011 -0700
288
-
289
- timeouts are in seconds, not milliseconds
290
-
291
- It's more consistent with other Ruby code. poll(2)
292
- (and epoll(2)) remain exception to that, so the
293
- Ruby wrappers for those calls still use milliseconds.
294
-
295
- commit 9e727f32a6e3506994934b9a48204ffdf0003bca
296
- Author: Eric Wong <normalperson@yhbt.net>
297
- Date: Thu Apr 14 21:56:48 2011 +0000
298
-
299
- allow combining input_spray + MD5 filter
300
-
301
- This is required for large parallel uploads.
302
-
303
- commit 3aa054616bae3184ead01e78d70a707b59f71e63
304
- Author: Eric Wong <normalperson@yhbt.net>
305
- Date: Thu Apr 14 20:59:59 2011 +0000
306
-
307
- Gemfile: depend on Unicorn 3 for tests
308
-
309
- We need trailer support
310
-
311
- commit b35f0d9bcdd3551bcdf2b5285c92197767fde496
312
- Author: Eric Wong <normalperson@yhbt.net>
313
- Date: Fri Apr 8 06:15:04 2011 +0000
314
-
315
- timed_queue: Queue-like class that works with a timeout
316
-
317
- commit 3db374e644014726092913eee7a4f09d15f6762c
318
- Author: Eric Wong <normalperson@yhbt.net>
319
- Date: Tue Apr 5 17:37:54 2011 -0700
320
-
321
- chunky_pipe: rdoc purpose of this class
322
-
323
- commit aac364b03306b1ba6ac65c325d946db4b0af02bd
324
- Author: Eric Wong <normalperson@yhbt.net>
325
- Date: Tue Apr 5 17:34:01 2011 -0700
326
-
327
- content_md5: cleaner pack invocation (Ruby 1.9-only)
328
-
329
- No need to String#strip!
330
-
331
- commit c78c63adde85f0b329b44484ae652b0acdee4063
332
- Author: Eric Wong <normalperson@yhbt.net>
333
- Date: Fri Mar 18 14:23:51 2011 -0700
334
-
335
- doc: various rdoc updates
336
-
337
- Forcing myself to relearn my own library
338
-
339
- commit cfa6c6b329ae44ae4f30a590d45e5df4c2d14d9a
340
- Author: Eric Wong <normalperson@yhbt.net>
341
- Date: Thu Mar 17 14:44:06 2011 -0700
342
-
343
- tests: cleanup shadow warnings under 1.9.2
344
-
345
- commit 1216ec9fc829c8c65f0f8ae2376138b90a1083d3
346
- Author: Eric Wong <normalperson@yhbt.net>
347
- Date: Thu Mar 17 21:19:54 2011 +0000
348
-
349
- pkg.mk: new task for checking Ruby warnings
350
-
351
- commit efcb08f789d60ebec26eadaada9af09593fedb9b
352
- Author: Eric Wong <normalperson@yhbt.net>
353
- Date: Wed Mar 16 01:11:05 2011 +0000
354
-
355
- remove needless assignments
356
-
357
- More noise
358
-
359
- commit 6ce8e006a94a852ed76ffeababa1cac2ed7889c0
360
- Author: Eric Wong <normalperson@yhbt.net>
361
- Date: Wed Mar 16 01:06:22 2011 +0000
362
-
363
- content_md5: improve readability
364
-
365
- commit 61c1164c39886a198d33697c14c9abf099e3e08f
366
- Author: Eric Wong <normalperson@yhbt.net>
367
- Date: Wed Mar 16 00:31:25 2011 +0000
368
-
369
- use bundler
370
-
371
- commit 2318ee6a732f71d38a7749c0663bf780135be49c
372
- Author: Eric Wong <normalperson@yhbt.net>
373
- Date: Mon Feb 28 04:27:26 2011 +0000
374
-
375
- gemspec: bump kcar version
376
-
377
- Newer is better
378
-
379
- commit 32223af63dc5296cd09f2472ad60263d98f379a2
380
- Author: Eric Wong <normalperson@yhbt.net>
381
- Date: Thu Feb 24 08:28:34 2011 +0000
382
-
383
- HTTP spew 0.1.0 - initial release
384
-
385
- Might as well...
386
-
387
- commit e11489549eefff5ae031f2127bc72efe8187f938
388
- Author: Eric Wong <normalperson@yhbt.net>
389
- Date: Thu Feb 24 08:48:14 2011 +0000
390
-
391
- fixes for Ruby 1.9.3dev
392
-
393
- 1.9.3dev got louder about warnings and more careful about
394
- shared strings.
395
-
396
- commit aefc248decd16db8098fef6148ed825e83bebfc1
397
- Author: Eric Wong <normalperson@yhbt.net>
398
- Date: Thu Feb 10 13:48:15 2011 -0800
399
-
400
- test/helper: cleanup fifo after using it
401
-
402
- No need to flood our $TMPDIR :x
403
-
404
- commit 5d23e362ee382d57672bf4f21563c94d3b0bca03
405
- Author: Eric Wong <normalperson@yhbt.net>
406
- Date: Thu Feb 10 10:44:21 2011 +0000
407
-
408
- hit_n_run: an even more terrible HTTP requester
409
-
410
- It just requests and never cares for a response!
411
-
412
- commit cf5b6c3b0664471f3fbd384c50d940d2f6c2781a
413
- Author: Eric Wong <normalperson@yhbt.net>
414
- Date: Thu Feb 10 10:25:39 2011 +0000
415
-
416
- add Content-MD5 input filter support
417
-
418
- This means we can make requests with Content-MD5 trailers
419
-
420
- commit 20f5a767769aabee3b26ae05c9d8c9532fa84b16
421
- Author: Eric Wong <normalperson@yhbt.net>
422
- Date: Thu Feb 10 10:23:35 2011 +0000
423
-
424
- chunky_pipe: error transfer between threads
425
-
426
- Calling IO#close is racy with threads, so we transfer
427
- the error over to the reader if the writer has to error
428
- out.
429
-
430
- commit 9f97b6012ab0e777adfc342474bb95b5a55f9643
431
- Author: Eric Wong <normalperson@yhbt.net>
432
- Date: Thu Feb 10 10:21:27 2011 +0000
433
-
434
- wait: do not poll if pollset is empty
435
-
436
- No point :P
437
-
438
- commit a9f76e7e7d78d4d2313819e43c486ecd33cc998a
439
- Author: Eric Wong <normalperson@yhbt.net>
440
- Date: Thu Feb 10 10:21:00 2011 +0000
441
-
442
- do not clobber existing error when assigning
443
-
444
- commit 711b3503dbcbe08850595796824b84eaf32ba4c4
445
- Author: Eric Wong <normalperson@yhbt.net>
446
- Date: Thu Feb 10 08:54:29 2011 +0000
447
-
448
- split out chunky_pipe into it's own module
449
-
450
- It should be top-level and it's a good name, too :D
451
-
452
- commit bbb83625d3197d321c4fe4526e0fcdb80ddcc1b9
453
- Author: Eric Wong <normalperson@yhbt.net>
454
- Date: Thu Feb 10 08:37:43 2011 +0000
455
-
456
- input_splitter -> input_spray, add tests
457
-
458
- It seems to work alright in a unit test environment
459
-
460
- commit fb0d48b2ccfced833f879e592d43700d40473c77
461
- Author: Eric Wong <normalperson@yhbt.net>
462
- Date: Tue Feb 8 19:46:31 2011 -0800
463
-
464
- add untested input_splitter
465
-
466
- It'll be useful for splitting out inputs into different
467
- requests and processing them in parallel.
468
-
469
- commit 89e2b2b90136525d7e7905b3e1fa0e711398f4b3
470
- Author: Eric Wong <normalperson@yhbt.net>
471
- Date: Tue Feb 8 18:59:32 2011 -0800
472
-
473
- cleanup request handling of input
474
-
475
- Remove unneeded Fiber dependency.
476
-
477
- commit 9421276c001adbd8904366e92fe6181ea925a2db
478
- Author: Eric Wong <normalperson@yhbt.net>
479
- Date: Tue Feb 8 18:59:01 2011 -0800
480
-
481
- test/helper: properly handle worker_processes != 4
482
-
483
- Oops, we're about to start using it
484
-
485
- commit 8a5b2fac7f448c35507cb081178ad9027843b335
486
- Author: Eric Wong <normalperson@yhbt.net>
487
- Date: Tue Feb 8 18:16:01 2011 -0800
488
-
489
- HTTP_Spew.wait retries requests on EINTR
490
-
491
- We may not have rv set yet.
492
-
493
- commit 4809a6b7a97a0087899107820a93d70283c9502a
494
- Author: Eric Wong <normalperson@yhbt.net>
495
- Date: Tue Feb 8 18:13:40 2011 -0800
496
-
497
- add wait_nonblock! and fix wait return values
498
-
499
- Like Process.waitall, we want to wait on and return
500
- all running requests possible.
501
-
502
- commit a898603166528d6eaebcf151008ccd99b01ea115
503
- Author: Eric Wong <normalperson@yhbt.net>
504
- Date: Tue Feb 8 18:13:17 2011 -0800
505
-
506
- request: document close method
507
-
508
- We don't want to think it's unused.
509
-
510
- commit 27696c3947f2339a8f708377ba5618044207340a
511
- Author: Eric Wong <normalperson@yhbt.net>
512
- Date: Tue Feb 8 18:12:07 2011 -0800
513
-
514
- request: optimize string requests by avoiding Fiber
515
-
516
- No need for Fiber in some cases...
517
-
518
- commit 10283cdff905c4af58e633ef052d3823deba6db5
519
- Author: Eric Wong <normalperson@yhbt.net>
520
- Date: Tue Feb 8 18:11:23 2011 -0800
521
-
522
- test_upload: switch this test to use a temporary file
523
-
524
- We don't want to use too much memory
525
-
526
- commit 5312aeb04ae29a6187f39cc655356f1b42402fe0
527
- Author: Eric Wong <normalperson@yhbt.net>
528
- Date: Tue Feb 8 18:10:14 2011 -0800
529
-
530
- test/helper: allow worker_processes to be specified
531
-
532
- We want to disable parallelization sometimes
533
-
534
- commit 3a2e1ac5d3679bfa44056a67118034da50c948d1
535
- Author: Eric Wong <normalperson@yhbt.net>
536
- Date: Tue Feb 8 15:03:28 2011 -0800
537
-
538
- switch from IO.select to to Kgio.poll
539
-
540
- No high descriptor limits anymore
541
-
542
- commit c25326ff75c1e7da0c8e366ce46c84aea6ad094b
543
- Author: Eric Wong <normalperson@yhbt.net>
544
- Date: Mon Feb 7 08:51:15 2011 +0000
545
-
546
- initial commit
data/Gemfile DELETED
@@ -1,5 +0,0 @@
1
- source(ENV["GEM_SOURCE"] || :rubygems)
2
- gem 'rack', '~> 1.3'
3
- gem 'kgio', '~> 2.6'
4
- gem 'kcar', '~> 0.3'
5
- gem 'unicorn', '~> 4' # not many servers offer HTTP Trailer handling