repo.or.cz
/
rainbows.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
ensure client aborted file/stream response bodies are closed
2010-07-20
E
r
ic Wong
ensure cl
i
ent a
b
orted file/str
e
a
m
response bodies ar
e
.
.
.
commit
|
commitdiff
|
tree
2010-07-20
Eric Wong
event_machine
:
close bod
y
des
c
riptor before streaming
.
.
.
commit
|
commitdiff
|
tree
2010-07-20
Eric Won
g
ensure
f
ile
respon
s
e bodies are p
r
operly c
l
o
s
e
d
commit
|
commitdiff
|
tree
2010-07-20
Er
i
c Wong
e
n
s
u
re stream re
s
ponse bo
d
ie
s
get closed
commit
|
commitdiff
|
tree
2010-07-20
Eric Wong
rev: split o
u
t d
e
f
erred chun
k
logic from unchunke
d
commit
|
commitdiff
|
tree
2010-07-20
Er
i
c
W
ong
re
v
/deferred_respon
s
e: clean
u
ps
commit
|
commitdiff
|
tree
2010-07-20
Eric W
o
ng
rev: autoload
Defe
r
red
R
esponse
commit
|
commitdiff
|
tree
2010-07-20
E
ri
c
Wong
pr
e
fer Integer#to_s(16) to sprintf(
"
%x\r\n")
commit
|
commitdiff
|
tree
2010-07-20
Eri
c
Wong
even
t
_machine: don't s
e
t @body unl
e
ss it's EM::Deferrable
commit
|
commitdiff
|
tree
2010-07-20
Eric Wo
n
g
event_machin
e
:
s
mall s
i
mp
l
i
f
ication f
o
r async responses
commit
|
commitdiff
|
tree
2010-07-20
Eric W
o
ng
event_machine: split out unc
o
mmonly
used modules
commit
|
commitdiff
|
tree
2010-07-20
Er
i
c W
o
ng
r
ev + em
:
enable keepalive for pipe/socket respo
n
ses
commit
|
commitdiff
|
tree
2010-07-20
Eric
W
o
ng
re
v
+ em: more
e
asily allow Co
n
tent-Length
i
n
p
i
p
e
.
.
.
commit
|
commitdiff
|
tree
2010-07-20
Eric Wong
event_m
a
chi
n
e: Respons
e
C
h
unk
P
ipe style
c
le
a
nup
commit
|
commitdiff
|
tree
2010-07-20
E
ric
W
ong
eve
n
t
_machin
e
: garbage avoi
d
ance for
p
ipe
r
esponses
commit
|
commitdiff
|
tree
2010-07-20
Eric Wo
n
g
event_machine:
avoi
d
race in
u
nchunked fast pipe responses
commit
|
commitdiff
|
tree
2010-07-20
Eric Wong
rem
o
ve unnecess
a
ry header munging f
o
r static file se
r
vi
n
g
commit
|
commitdiff
|
tree
2010-07-20
Eric Wong
dev_fd_re
s
ponse: remo
v
e needless
begin block
commit
|
commitdiff
|
tree
2010-07-20
Er
i
c Wong
n
o
need to pa
s
s 'rb' as
F
ile
.
open flags
commit
|
commitdiff
|
tree
2010-07-20
E
ric Wong
sendfi
l
e midd
l
eware: various style cleanups
commit
|
commitdiff
|
tree
2010-07-20
Eri
c
Wong
refa
c
tor response han
d
li
n
g for each co
n
c
u
r
rency model
commit
|
commitdiff
|
tree
2010-07-11
Eric Wong
Rainbows! v0
.
95
.
1
- dep
e
nd on newe
r
Uni
c
or
n
commit
|
commitdiff
|
tree
2010-07-11
E
r
i
c
Wong
bump Unicorn
dependency to 1
.
1
.
1
commit
|
commitdiff
|
tree
2010-07-10
E
r
ic
Wong
doc: make RDoc s
k
ip private method
s
commit
|
commitdiff
|
tree
2010-07-10
Er
i
c Won
g
t
est_i
s
olate: docu
m
e
n
t why we test with
R
a
ck 1
.
1
.
0
commit
|
commitdiff
|
tree
2010-07-10
Eric Wong
Rainbo
w
s!
0
.
95
.
0
-
s
endf
i
le() supp
o
r
t!
commit
|
commitdiff
|
tree
2010-07-10
Er
i
c Wong
do
c
:
avoid documentin
g
in
t
erna
l
s on RDoc web
s
i
te
commit
|
commitdiff
|
tree
2010-07-10
Eri
c
Wong
doc: Static_Files
do
c
um
e
ntation
commit
|
commitdiff
|
tree
2010-07-09
Eric W
o
ng
e
v
e
nt_m
a
chine: rename respons
e
_write =>
em_wr
i
te_
r
esponse
commit
|
commitdiff
|
tree
2010-07-09
Eric W
o
n
g
htt
p
_
r
esponse: allow
C
ramp 0
.
11 to se
n
d
proper W
S
headers
commit
|
commitdiff
|
tree
2010-07-08
Er
i
c
Wong
re
s
tore
R
ainbows::HttpResponse
.
writ
e
f
or Cramp
commit
|
commitdiff
|
tree
2010-07-08
Er
i
c Wong
dev:
b
ump iso
l
a
te
d
e
pendency to 2
.
1
.
0
commit
|
commitdiff
|
tree
2010-07-08
Eric W
o
n
g
TODO: documen
t
ati
o
n needs
w
ork
,
s
o
d
o
c
ument it :P
commit
|
commitdiff
|
tree
2010-07-08
Eri
c
Wong
bump T
C
P_
D
E
FER_ACCEP
T
d
e
fault va
l
ue
commit
|
commitdiff
|
tree
2010-07-08
Eric
W
ong
bu
m
p
u
nico
r
n dependencies
commit
|
commitdiff
|
tree
2010-07-08
Eric Wong
stream_fi
l
e
:
split
this out
f
rom re
v
/
sendfile
commit
|
commitdiff
|
tree
2010-07-06
Eric Wo
n
g
b
y
te_slice:
S
trin
g
#[range] is faste
r
t
han Str
i
n
g#slice
.
.
.
commit
|
commitdiff
|
tree
2010-07-06
Eric Wong
doc:
u
p
date TODO
commit
|
commitdiff
|
tree
2010-07-06
Eric Wong
f
ix string sli
c
ing u
n
der 1
.
9 a
f
ter shor
t
writes
commit
|
commitdiff
|
tree
2010-07-06
Eric
Wong
r
e
v/client
:
more
aggres
s
iv
e
non-blockin
g
write
commit
|
commitdiff
|
tree
2010-07-06
Eric Wong
c
le
a
nup er
r
o
r han
d
l
ing
for aborted downloads
commit
|
commitdiff
|
tree
2010-07-06
Eric Wo
n
g
rev
:
avoid unnecessary seeking when using
sendfil
e
commit
|
commitdiff
|
tree
2010-07-05
Eric Wong
rev: prop
e
rly enable
p
ost
-
fork sendfi
l
e() usage
commit
|
commitdiff
|
tree
2010-07-04
Eric
Wo
n
g
r
e
factor re
s
ponse body ha
n
dling for sen
d
file(2
)
commit
|
commitdiff
|
tree
2010-07-04
Eric
Won
g
rev
/
client:
s
/sendfile/rev_
s
endfile/
commit
|
commitdiff
|
tree
2010-07-04
Eri
c
Wo
n
g
revactor: properly zero b
u
ffer on zero read
s
commit
|
commitdiff
|
tree
2010-07-04
Eric
Wong
thread_
p
ool: fo
r
c
e
threa
d
s to wakeu
p
on shutdown
commit
|
commitdiff
|
tree
2010-06-30
Eric
W
ong
r
ev:
a
dd
sendfile support
commit
|
commitdiff
|
tree
2010-06-30
Eri
c
Wong
dev_fd_res
p
onse:
a
voi
d
rede
c
laring Rainbows module
commit
|
commitdiff
|
tree
2010-06-30
Eric Wong
deferred_response: re
m
o
v
e needless i
n
c
l
ude
commit
|
commitdiff
|
tree
2010-06-28
Eric Wong
T
OD
O
:
ext
r
a ite
m
for byte-range r
e
spo
n
ses
commit
|
commitdiff
|
tree
2010-06-28
Eric Wong
a
d
d
p
reli
m
inary sendfile (1
.
0
.
0
) gem support
commit
|
commitdiff
|
tree
2010-06-28
Eric Wong
fib
e
r
/base: reuse process
_
clie
n
t log
i
c
i
n
b
a
se
commit
|
commitdiff
|
tree
2010-06-28
Eric Wong
(style) prefer "until" instea
d
of
"while !"
commit
|
commitdiff
|
tree
2010-06-28
Eric
W
on
g
rev
a
cto
r
: constant/
n
am
e
space cleanups
commit
|
commitdiff
|
tree
2010-06-28
Eric Wo
n
g
ba
s
e: constant
/
namesp
a
ce cleanup
commit
|
commitdiff
|
tree
2010-06-27
Er
i
c Wong
http_res
p
onse: make thi
s
a m
o
dule, not a class
commit
|
commitdiff
|
tree
2010-06-27
Eri
c
Wong
h
t
tp_response: (nitpi
c
k) simplify co
n
ditional log
i
c
commit
|
commitdiff
|
tree
2010-06-27
Eric Wong
http_re
s
ponse:
c
leanup docu
m
entation
commit
|
commitdiff
|
tree
2010-06-24
Eric
W
ong
sendfile:
u
pdate
d
o
cs
f
o
r
R
a
c
k::Sendfile
commit
|
commitdiff
|
tree
2010-06-21
Eric Wong
add
Rainb
o
ws:
:
Confi
g
ura
t
or mo
d
ule
commit
|
commitdiff
|
tree
2010-06-21
Eric Wong
te
s
t
s:
e
nable ActorSpawn test for r
b
x
commit
|
commitdiff
|
tree
2010-06-21
Eric W
o
ng
r
ev: d
o
cume
n
tat
i
on u
p
date fo
r
#write
m
e
t
hod
commit
|
commitdiff
|
tree
2010-06-21
Eric Wong
dev_fd_
r
esponse: disable u
n
der R
u
binius for now
commit
|
commitdiff
|
tree
2010-06-21
Eric Wong
dev_
f
d_res
p
onse: c
l
eanup and r
e
o
r
ganizatio
n
commit
|
commitdiff
|
tree
2010-06-21
Eri
c
Wong
test_isolate: bump unicorn depend
e
ncy
commit
|
commitdiff
|
tree
2010-06-21
Er
i
c Wong
test: no need fo
r
I
O
#sync=true in a
s
yn
c
-r
e
spo
n
s
e tests
commit
|
commitdiff
|
tree
2010-06-21
Eric Wong
tests: a
v
oid embedded command-lin
e
switches in
tests
commit
|
commitdiff
|
tree
2010-06-21
Eric Wong
rev: restore Ruby 1
.
8
.
6 compatibility
commit
|
commitdiff
|
tree
2010-06-21
Eric W
o
ng
b
u
m
p
a
s
y
nc_
s
inatra test dependencies
commit
|
commitdiff
|
tree
2010-06-18
E
r
ic Wong
rev: cleanup write metho
d
commit
|
commitdiff
|
tree
2010-06-18
Eric Wong
rev:
a
void extr
a
ne
o
us data cop
y
for small r
e
spon
s
e
s
commit
|
commitdiff
|
tree
2010-06-18
Eric Wong
fiber/{
b
ase,io}: use arrays instead of hash
e
s for r
.
.
.
commit
|
commitdiff
|
tree
2010-06-18
Eric Wong
fi
b
er/base: more accurate sleep
timeout
commit
|
commitdiff
|
tree
2010-06-18
Eric
W
ong
av
o
id needles
s
Hea
d
erHash#t
o
_has
h
calls
commit
|
commitdiff
|
tree
2010-06-18
Eric Wong
prefer Array#[] lookup to
A
rray#
f
irst/Array#la
s
t
commit
|
commitdiff
|
tree
2010-06-16
Eric
W
ong
test_isolat
e
: fix ruby en
g
in
e
usage
commit
|
commitdiff
|
tree
2010-06-11
Er
i
c
Wong
upd
a
te test
infrastr
u
ctur
e
t
o
support Rub
i
nius
commit
|
commitdiff
|
tree
2010-06-11
Eric Wo
n
g
alt working_dire
c
t
o
r
y
test from Unico
r
n
commit
|
commitdiff
|
tree
2010-06-11
Eri
c
Wong
re
l
y o
n
Un
i
corn 0
.
99
1
.
0 for tests
commit
|
commitdiff
|
tree
2010-06-11
E
r
i
c
Wong
bi
n
/rainbows: sync up
with lat
e
st Unicor
n
commit
|
commitdiff
|
tree
2010-06-11
Eric Won
g
add Rainbows::Se
r
verToke
n
middleware
commit
|
commitdiff
|
tree
2010-06-11
Eric Wo
n
g
my-t
a
p-
l
i
b: fix
r
ace condition in
v
erbose mo
d
e
commit
|
commitdiff
|
tree
2010-06-09
Er
i
c Won
g
http_s
e
rver: use supe
r
i
n
stead
o
f
alias_
m
ethod
commit
|
commitdiff
|
tree
2010-06-08
Eric Wong
g
emsp
e
c: bump
unicorn dependency to 0
.
990
.
0
commit
|
commitdiff
|
tree
2010-06-07
Eri
c
Wong
RE
A
DME:
update with
Z
batery i
n
fo
commit
|
commitdiff
|
tree
2010-06-06
Eri
c
W
o
n
g
tests: t90
0
1: avoid need
l
ess filesys
t
em activity
commit
|
commitdiff
|
tree
2010-06-06
E
r
i
c Wong
c
e
ntrali
z
e
bod
y
=> IO
c
onv
e
rsion
l
o
g
ic
commit
|
commitdiff
|
tree
2010-06-04
Eri
c
Wong
Rainbow
s
! 0
.
94
.
0
- one e
i
ght ate my homework!
commit
|
commitdiff
|
tree
2010-06-04
Eric Wong
sendfile:
update
R
D
oc for t
h
is midd
l
eware
.
commit
|
commitdiff
|
tree
2010-06-04
E
r
ic
W
o
ng
d
o
c: updat
e
test su
i
t
e
REA
D
ME and
link w
i
th
R
Do
c
commit
|
commitdiff
|
tree
2010-06-04
Eric Wong
c
l
e
a
n
u
p makefiles,
m
ove publish_doc
i
n
to main
commit
|
commitdiff
|
tree
2010-06-04
Eri
c
Won
g
tests: make -C
$
MODEL
.
tNNNN-foo
.
sh work aga
i
n
out-of
.
.
.
commit
|
commitdiff
|
tree
2010-06-04
Eric
Won
g
tes
t
s
: cleanup isol
a
te u
s
age
commit
|
commitdiff
|
tree
2010-06-04
Eri
c
Wong
t
e
sts: disable
async
_
sinatra test for Ruby 1
.
9
.
2
commit
|
commitdiff
|
tree
2010-06-04
Eri
c
W
o
n
g
l
o
cal
.
mk
.
sample: add a hint for TMPDIR
commit
|
commitdiff
|
tree
2010-06-04
Er
i
c Wong
local
.
m
k
.
sample
:
update for running 1
.
9
.
2 (pre
v
iew3
.
.
.
commit
|
commitdiff
|
tree
2010-06-04
Eric Wong
Rake
f
ile: explain ourse
l
ves when Isola
t
ing
commit
|
commitdiff
|
tree
2010-06-04
Eric Wong
test-l
i
b: set
N
O_PROXY to
c
ounter htt
p
_pr
o
xy
commit
|
commitdiff
|
tree
2010-06-04
Eric Wong
depen
d
on Isolate
~
> 2
.
0
.
2
for devel
o
pme
n
t
commit
|
commitdiff
|
tree
next