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
event_machine: close body descriptor before streaming file
2010-07-20
Er
i
c W
o
ng
event_machi
n
e: clos
e
body descri
p
tor bef
o
re
s
t
r
eaming
.
.
.
commit
|
commitdiff
|
tree
2010-07-20
Eric Wo
n
g
ensure fil
e
res
p
on
s
e
bodies
a
re properly clos
e
d
commit
|
commitdiff
|
tree
2010-07-20
Eric Wong
ens
u
re stream response bodies g
e
t
c
l
o
s
e
d
commit
|
commitdiff
|
tree
2010-07-20
Eric Wong
rev: s
p
lit out de
f
erred chu
n
k
l
og
i
c
from
u
nchunke
d
commit
|
commitdiff
|
tree
2010-07-20
Eric Wong
rev
/
deferred_response: clean
u
ps
commit
|
commitdiff
|
tree
2010-07-20
E
ric W
o
n
g
rev: autoload
D
eferredResp
o
nse
commit
|
commitdiff
|
tree
2010-07-20
Eric
Wo
n
g
p
r
efe
r
Int
e
ger#
t
o_s(
1
6) to
s
p
r
in
t
f
("
%
x\r\n")
commit
|
commitdiff
|
tree
2010-07-20
E
ric
W
ong
e
vent_machine: don't set @bo
d
y u
n
less it's EM
:
:D
e
ferrable
commit
|
commitdiff
|
tree
2010-07-20
Eric
Wong
event_m
a
chine: small simplific
a
tion for asy
n
c responses
commit
|
commitdiff
|
tree
2010-07-20
E
ric Wong
event_machine: sp
l
it out uncommonly used modules
commit
|
commitdiff
|
tree
2010-07-20
Eric Wong
rev +
em: enable
keepalive for pipe/socket resp
o
nses
commit
|
commitdiff
|
tree
2010-07-20
Eric Wo
n
g
r
e
v
+ em: mor
e
easily allow Content-Length in pipe
.
.
.
commit
|
commitdiff
|
tree
2010-07-20
Eric Wong
event_mach
i
n
e
: Res
p
onseCh
u
nk
P
ipe style cleanup
commit
|
commitdiff
|
tree
2010-07-20
Eric
Wong
event_machine: ga
r
bage
avoid
a
nc
e
f
or pi
p
e respons
e
s
commit
|
commitdiff
|
tree
2010-07-20
Eric Wo
n
g
eve
n
t_
m
a
c
h
i
n
e
: avoi
d
race i
n
unchu
n
k
e
d fast pipe
r
esponses
commit
|
commitdiff
|
tree
2010-07-20
Eric
W
on
g
remove
unnecessary heade
r
m
ung
i
ng for st
a
tic file s
e
rvi
n
g
commit
|
commitdiff
|
tree
2010-07-20
E
ric
Wong
dev_fd
_
res
p
onse: remove needless begin block
commit
|
commitdiff
|
tree
2010-07-20
Eric Wong
no need to p
a
ss 'rb' as File
.
open fla
g
s
commit
|
commitdiff
|
tree
2010-07-20
Eri
c
Wong
sendf
i
le m
i
d
d
leware: vario
u
s s
t
yl
e
cleanu
p
s
commit
|
commitdiff
|
tree
2010-07-20
Eric
W
ong
refactor
r
es
p
onse handling for
e
ach concurrency model
commit
|
commitdiff
|
tree
2010-07-11
Eric
Wo
n
g
Rainbows! v
0
.
95
.
1 - depend on newer Unico
r
n
commit
|
commitdiff
|
tree
2010-07-11
Eric W
o
ng
bump Unicorn
depe
n
dency to
1
.
1
.
1
commit
|
commitdiff
|
tree
2010-07-10
Er
i
c Wong
doc: make
RDoc
s
kip private
m
e
t
h
ods
commit
|
commitdiff
|
tree
2010-07-10
E
ric Wong
test
_
is
o
la
t
e: documen
t
why we te
s
t wi
t
h Rack 1
.
1
.
0
commit
|
commitdiff
|
tree
2010-07-10
E
r
ic Wong
Rainbow
s
!
0
.
95
.
0 - sendfile
(
) su
p
port!
commit
|
commitdiff
|
tree
2010-07-10
Eric Wong
doc: avoid document
i
ng
in
t
ernals on RDoc website
commit
|
commitdiff
|
tree
2010-07-10
E
ric
Wong
doc: Static_
F
i
les d
o
cumen
t
ation
commit
|
commitdiff
|
tree
2010-07-09
Eric Wong
event_ma
c
h
i
n
e: rename response_write
=>
em_write
_
r
e
s
pons
e
commit
|
commitdiff
|
tree
2010-07-09
Eric W
o
ng
http_r
e
sponse: allow Cramp 0
.
11 to send prope
r
WS
h
e
a
ders
commit
|
commitdiff
|
tree
2010-07-08
E
r
ic Wong
res
t
o
r
e Rainbo
w
s::
H
ttpResp
o
ns
e
.
write for Cramp
commit
|
commitdiff
|
tree
2010-07-08
Eric
Wong
dev: bump isol
a
te de
p
e
n
dency to 2
.
1
.
0
commit
|
commitdiff
|
tree
2010-07-08
Eri
c
Wong
TODO:
documentat
i
o
n
needs wor
k
, so docu
m
ent it :P
commit
|
commitdiff
|
tree
2010-07-08
Eric Wong
bump T
C
P_DEFER_
A
CCEPT default
value
commit
|
commitdiff
|
tree
2010-07-08
E
r
ic
W
o
n
g
bump
unicorn dependencies
commit
|
commitdiff
|
tree
2010-07-08
Eric Wong
strea
m
_
f
ile: split th
i
s
out
f
rom re
v
/
sendfile
commit
|
commitdiff
|
tree
2010-07-06
Eric Wong
byte_slice:
S
tring#[range] is
faster t
h
an
String#sli
c
e
.
.
.
commit
|
commitdiff
|
tree
2010-07-06
Eric Won
g
doc: u
p
date
T
O
DO
commit
|
commitdiff
|
tree
2010-07-06
Eric Wong
fix
string s
l
icing under 1
.
9
a
fter short
w
ri
t
es
commit
|
commitdiff
|
tree
2010-07-06
Eric Won
g
rev/client: more aggressive no
n
-blo
c
king write
commit
|
commitdiff
|
tree
2010-07-06
Eric Wong
c
l
eanup error hand
l
i
n
g for abort
e
d d
o
w
n
loa
d
s
commit
|
commitdiff
|
tree
2010-07-06
Eric Wong
rev: avoid u
n
necessary seeking wh
e
n u
s
ing sendfile
commit
|
commitdiff
|
tree
2010-07-05
Eric Wong
rev: p
r
o
pe
r
ly enabl
e
po
s
t
-
fork sendfile(
)
u
s
age
commit
|
commitdiff
|
tree
2010-07-04
Eric Wong
refactor
res
p
onse b
o
d
y
handling for sendfile(2)
commit
|
commitdiff
|
tree
2010-07-04
Eri
c
Wong
rev/client: s/send
f
i
le/rev_sendfile/
commit
|
commitdiff
|
tree
2010-07-04
E
ric Wong
revactor: pro
p
erly zero bu
f
fer on zero reads
commit
|
commitdiff
|
tree
2010-07-04
Eric Won
g
thre
a
d_
p
ool: force
threads
to wakeup on
s
hutd
o
wn
commit
|
commitdiff
|
tree
2010-06-30
Eric Wong
rev:
add sendfile s
u
pport
commit
|
commitdiff
|
tree
2010-06-30
Eric Wo
n
g
de
v
_
fd_response: avoid redeclaring Rainbows module
commit
|
commitdiff
|
tree
2010-06-30
E
r
ic Wong
defer
r
e
d
_response: remo
v
e needless include
commit
|
commitdiff
|
tree
2010-06-28
Eric Wong
TODO: ex
t
ra item for byte-range
resp
o
nses
commit
|
commitdiff
|
tree
2010-06-28
Eric
W
ong
a
d
d prelim
i
na
r
y s
e
n
d
file (1
.
0
.
0) gem support
commit
|
commitdiff
|
tree
2010-06-28
Er
i
c Wong
fiber/ba
s
e:
reuse process_client logic in
base
commit
|
commitdiff
|
tree
2010-06-28
Eric Wong
(style) prefer
"
until" instead of "while !"
commit
|
commitdiff
|
tree
2010-06-28
Eric Wong
revactor: con
s
tant/namespace cleanups
commit
|
commitdiff
|
tree
2010-06-28
Eric Wong
ba
s
e: constant/namesp
a
ce cleanup
commit
|
commitdiff
|
tree
2010-06-27
Er
i
c Wong
http_r
e
s
p
onse: make
t
his a module, not a
c
la
s
s
commit
|
commitdiff
|
tree
2010-06-27
E
ric Wong
http_respon
s
e
: (nitpick) simp
l
ify conditi
o
n
al logic
commit
|
commitdiff
|
tree
2010-06-27
E
r
ic Wong
http_r
e
sponse:
c
leanup d
o
cumen
t
ation
commit
|
commitdiff
|
tree
2010-06-24
Eric
W
ong
se
n
d
file: up
d
a
t
e docs
f
or Rack::Se
n
dfile
commit
|
commitdiff
|
tree
2010-06-21
Eric Wong
a
dd R
a
i
n
bows::Configura
t
or mod
u
le
commit
|
commitdiff
|
tree
2010-06-21
E
r
ic Wong
tests: enab
l
e
A
c
t
orSpawn test for
rbx
commit
|
commitdiff
|
tree
2010-06-21
Eric Wong
rev: docume
n
tation updat
e
fo
r
#w
r
ite method
commit
|
commitdiff
|
tree
2010-06-21
Eric
W
ong
de
v
_fd_response:
d
isable under Rubinius for now
commit
|
commitdiff
|
tree
2010-06-21
Eri
c
Wong
d
ev_fd_response: cleanup a
n
d reorganizatio
n
commit
|
commitdiff
|
tree
2010-06-21
Eric Wo
n
g
te
s
t_is
o
la
t
e
:
bum
p
unicorn depende
n
c
y
commit
|
commitdiff
|
tree
2010-06-21
Eric
Wong
te
s
t: no need for IO#
s
y
nc=true in
async-
r
esponse tests
commit
|
commitdiff
|
tree
2010-06-21
E
r
i
c Wong
tests: a
v
oid embedded
c
o
mm
a
nd
-
line switches in tests
commit
|
commitdiff
|
tree
2010-06-21
Eric Wong
rev
:
rest
o
r
e
Ruby 1
.
8
.
6
compatibi
l
i
t
y
commit
|
commitdiff
|
tree
2010-06-21
Eric Wong
bump async_
s
i
natra
test d
e
p
e
n
d
e
n
cies
commit
|
commitdiff
|
tree
2010-06-18
Eric Wong
rev:
cl
e
anu
p
w
r
ite meth
o
d
commit
|
commitdiff
|
tree
2010-06-18
Eri
c
Wong
r
ev: avo
i
d extr
a
n
eous da
t
a
copy fo
r
small re
s
pon
s
es
commit
|
commitdiff
|
tree
2010-06-18
Eric Wong
fiber/{base,io}:
use arra
y
s inste
a
d of has
h
es for r
.
.
.
commit
|
commitdiff
|
tree
2010-06-18
Eric Wong
fiber
/
base:
m
ore acc
u
r
a
te sleep timeout
commit
|
commitdiff
|
tree
2010-06-18
Eri
c
Wong
avoid n
e
edles
s
Heade
r
Hash
#
to_h
a
sh calls
commit
|
commitdiff
|
tree
2010-06-18
Er
i
c
W
o
ng
prefer Arr
a
y#[] lookup
to Array#first/Array#las
t
commit
|
commitdiff
|
tree
2010-06-16
Eric W
o
ng
te
s
t_isolate: fix ruby engine usage
commit
|
commitdiff
|
tree
2010-06-11
Eric Wong
update
t
est infrastructure to support Rubi
n
ius
commit
|
commitdiff
|
tree
2010-06-11
Eri
c
Wo
n
g
a
lt
w
o
rk
i
ng_directory test fr
o
m Unicorn
commit
|
commitdiff
|
tree
2010-06-11
Eric Wong
rely on
Unicorn
0
.
991
.
0 for
t
es
t
s
commit
|
commitdiff
|
tree
2010-06-11
E
ric
W
o
ng
bin/rainbows: syn
c
up with latest Uni
c
orn
commit
|
commitdiff
|
tree
2010-06-11
Eric Wong
add Rainbow
s
:
:
ServerToken
middleware
commit
|
commitdiff
|
tree
2010-06-11
Er
i
c Wong
my-tap-lib: fix rac
e
c
ondition
i
n verbose
m
ode
commit
|
commitdiff
|
tree
2010-06-09
Eric Wong
http_ser
v
er
:
use s
u
pe
r
i
n
s
tead of a
l
ias_met
h
od
commit
|
commitdiff
|
tree
2010-06-08
E
ric Won
g
g
e
mspec: b
u
mp u
n
icorn dependency to 0
.
990
.
0
commit
|
commitdiff
|
tree
2010-06-07
Eric Wong
README: update wi
t
h
Z
bater
y
info
commit
|
commitdiff
|
tree
2010-06-06
Eric Wong
t
ests: t
9
001: av
o
i
d needless filesystem act
i
vity
commit
|
commitdiff
|
tree
2010-06-06
Eric
Won
g
c
entralize b
o
dy => IO conversion logic
commit
|
commitdiff
|
tree
2010-06-04
Er
i
c
Wong
Rainbows! 0
.
94
.
0 -
one eight at
e
my ho
m
e
w
or
k
!
commit
|
commitdiff
|
tree
2010-06-04
Eri
c
Wong
sendfile: update RD
o
c for t
h
is middlewa
r
e
.
commit
|
commitdiff
|
tree
2010-06-04
Eric Wong
doc:
u
pda
t
e
test suite README and
l
in
k
with RD
o
c
commit
|
commitdiff
|
tree
2010-06-04
Eric Wong
cleanup
m
akefiles, move publ
i
s
h_doc int
o
m
a
i
n
commit
|
commitdiff
|
tree
2010-06-04
Eric Wong
tests: make
-
C
$MO
D
EL
.
tNNNN-fo
o
.
sh work
a
gain out-of
.
.
.
commit
|
commitdiff
|
tree
2010-06-04
Eric
Wo
n
g
tests: c
l
eanup isolate usage
commit
|
commitdiff
|
tree
2010-06-04
Eric Wong
t
est
s
: disable async_sinatra test
f
or R
u
by 1
.
9
.
2
commit
|
commitdiff
|
tree
2010-06-04
Eric Wong
loca
l
.
m
k
.
s
ample: ad
d
a
h
int for TMPDIR
commit
|
commitdiff
|
tree
2010-06-04
Eric Wong
local
.
mk
.
sample:
u
pdate for runn
i
n
g 1
.
9
.
2 (preview3
.
.
.
commit
|
commitdiff
|
tree
2010-06-04
Eric Wong
Rakefile
:
explain o
u
rselves whe
n
Iso
l
ating
commit
|
commitdiff
|
tree
2010-06-04
Er
i
c Wong
test-lib:
s
e
t
NO_PROX
Y
to counter htt
p
_pro
x
y
commit
|
commitdiff
|
tree
2010-06-04
Eric
W
ong
d
e
pen
d
on
I
s
o
late ~> 2
.
0
.
2 f
o
r
development
commit
|
commitdiff
|
tree
2010-06-03
Er
i
c W
o
ng
add Rainbows::Send
f
i
l
e middl
e
ware
commit
|
commitdiff
|
tree
next