evdispatch 0.1.5 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +9 -6
- data/ext/revdispatch/libdispatch-0.1/Changelog +11 -0
- data/ext/revdispatch/libdispatch-0.1/Makefile.in +61 -76
- data/ext/revdispatch/libdispatch-0.1/aclocal.m4 +260 -463
- data/ext/revdispatch/libdispatch-0.1/configure +3953 -4668
- data/ext/revdispatch/libdispatch-0.1/src/Makefile.in +59 -73
- data/ext/revdispatch/libdispatch-0.1/src/ev_dispatch.cc +35 -0
- data/ext/revdispatch/libdispatch-0.1/src/ev_dispatch.h +16 -20
- data/ext/revdispatch/libdispatch-0.1/src/ev_http.cc +104 -23
- data/ext/revdispatch/libdispatch-0.1/src/ev_http.h +21 -7
- data/ext/revdispatch/libdispatch-0.1/test/Makefile.am +6 -1
- data/ext/revdispatch/libdispatch-0.1/test/Makefile.in +98 -93
- data/ext/revdispatch/libdispatch-0.1/test/next_test.cc +8 -6
- data/ext/revdispatch/revdispatch.cc +51 -5
- data/ext/revdispatch/server.rb +13 -2
- data/ext/revdispatch/test.rb +1 -0
- data/lib/evdispatch/version.rb +2 -2
- data/test/test_evdispatch.rb +16 -8
- data/website/index.html +2 -2
- data/website/index.txt +1 -2
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,15 +1,18 @@
|
|
1
|
+
== 0.2 2008-04-13
|
2
|
+
* Add HTTP headers to response
|
3
|
+
* Expose some basic libcurl options (useragent, cookie, followlocation, etc.. see libdispatch Changelog for details
|
4
|
+
|
1
5
|
== 0.1.5 2008-04-11
|
2
|
-
* Fix a regression on linux caused from a fix to ppc
|
6
|
+
* Fix a regression on linux caused from a fix to ppc
|
3
7
|
|
4
8
|
== 0.1.4 2008-04-11
|
5
|
-
* Fix another issue with building this time on ppc it needs ranlib executed
|
9
|
+
* Fix another issue with building this time on ppc it needs ranlib executed
|
6
10
|
|
7
11
|
== 0.1.2 2008-04-11
|
8
|
-
* Fix issues with building dependent library on darwin
|
12
|
+
* Fix issues with building dependent library on darwin
|
9
13
|
|
10
14
|
== 0.1.1 2008-04-11
|
11
|
-
* Fix issues with building dependent library on linux
|
15
|
+
* Fix issues with building dependent library on linux
|
12
16
|
|
13
17
|
== 0.0.1 2008-04-10
|
14
|
-
|
15
|
-
* Initial release
|
18
|
+
* Initial release
|
@@ -0,0 +1,11 @@
|
|
1
|
+
* Add support to have response sent over a file descriptor, pipe/socket
|
2
|
+
* Improve timer resolution, add Timer::current_time and Timer::elapsed_time
|
3
|
+
* Store HTTP header in response object
|
4
|
+
* Add support for the following curl options:
|
5
|
+
port => CURLOPT_PORT
|
6
|
+
autoreferer => CURLOPT_AUTOREFERER
|
7
|
+
followlocation => CURLOPT_FOLLOWLOCATION
|
8
|
+
maxredirs => CURLOPT_MAXREDIRS
|
9
|
+
referer => CURLOPT_REFERER
|
10
|
+
useragent => CURLOPT_USERAGENT
|
11
|
+
cookie => CURLOPT_COOKIE
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
4
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5
|
-
# 2003, 2004, 2005
|
5
|
+
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
6
6
|
# This Makefile.in is free software; the Free Software Foundation
|
7
7
|
# gives unlimited permission to copy and/or distribute it,
|
8
8
|
# with or without modifications, as long as this notice is preserved.
|
@@ -13,11 +13,15 @@
|
|
13
13
|
# PARTICULAR PURPOSE.
|
14
14
|
|
15
15
|
@SET_MAKE@
|
16
|
+
srcdir = @srcdir@
|
17
|
+
top_srcdir = @top_srcdir@
|
16
18
|
VPATH = @srcdir@
|
17
19
|
pkgdatadir = $(datadir)/@PACKAGE@
|
18
20
|
pkglibdir = $(libdir)/@PACKAGE@
|
19
21
|
pkgincludedir = $(includedir)/@PACKAGE@
|
22
|
+
top_builddir = .
|
20
23
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
24
|
+
INSTALL = @INSTALL@
|
21
25
|
install_sh_DATA = $(install_sh) -c -m 644
|
22
26
|
install_sh_PROGRAM = $(install_sh) -c
|
23
27
|
install_sh_SCRIPT = $(install_sh) -c
|
@@ -31,18 +35,18 @@ PRE_UNINSTALL = :
|
|
31
35
|
POST_UNINSTALL = :
|
32
36
|
build_triplet = @build@
|
33
37
|
host_triplet = @host@
|
34
|
-
subdir = .
|
35
38
|
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
36
39
|
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
37
40
|
$(top_srcdir)/configure TODO config.guess config.sub depcomp \
|
38
41
|
install-sh ltmain.sh missing
|
42
|
+
subdir = .
|
39
43
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
40
44
|
am__aclocal_m4_deps = $(top_srcdir)/libev-3.2/libev.m4 \
|
41
45
|
$(top_srcdir)/configure.ac
|
42
46
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
43
47
|
$(ACLOCAL_M4)
|
44
48
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
45
|
-
configure.lineno
|
49
|
+
configure.lineno configure.status.lineno
|
46
50
|
mkinstalldirs = $(install_sh) -d
|
47
51
|
CONFIG_HEADER = config.h
|
48
52
|
CONFIG_CLEAN_FILES =
|
@@ -52,13 +56,10 @@ SOURCES =
|
|
52
56
|
DIST_SOURCES =
|
53
57
|
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
54
58
|
html-recursive info-recursive install-data-recursive \
|
55
|
-
install-
|
56
|
-
install-
|
57
|
-
|
58
|
-
|
59
|
-
ps-recursive uninstall-recursive
|
60
|
-
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
61
|
-
distclean-recursive maintainer-clean-recursive
|
59
|
+
install-exec-recursive install-info-recursive \
|
60
|
+
install-recursive installcheck-recursive installdirs-recursive \
|
61
|
+
pdf-recursive ps-recursive uninstall-info-recursive \
|
62
|
+
uninstall-recursive
|
62
63
|
ETAGS = etags
|
63
64
|
CTAGS = ctags
|
64
65
|
DIST_SUBDIRS = $(SUBDIRS)
|
@@ -74,6 +75,8 @@ GZIP_ENV = --best
|
|
74
75
|
distuninstallcheck_listfiles = find . -type f -print
|
75
76
|
distcleancheck_listfiles = find . -type f -print
|
76
77
|
ACLOCAL = @ACLOCAL@
|
78
|
+
AMDEP_FALSE = @AMDEP_FALSE@
|
79
|
+
AMDEP_TRUE = @AMDEP_TRUE@
|
77
80
|
AMTAR = @AMTAR@
|
78
81
|
AR = @AR@
|
79
82
|
AUTOCONF = @AUTOCONF@
|
@@ -100,8 +103,6 @@ EGREP = @EGREP@
|
|
100
103
|
EXEEXT = @EXEEXT@
|
101
104
|
F77 = @F77@
|
102
105
|
FFLAGS = @FFLAGS@
|
103
|
-
GREP = @GREP@
|
104
|
-
INSTALL = @INSTALL@
|
105
106
|
INSTALL_DATA = @INSTALL_DATA@
|
106
107
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
107
108
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
@@ -114,8 +115,9 @@ LIBTOOL = @LIBTOOL@
|
|
114
115
|
LN_S = @LN_S@
|
115
116
|
LTLIBOBJS = @LTLIBOBJS@
|
116
117
|
MAINT = @MAINT@
|
118
|
+
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
119
|
+
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
117
120
|
MAKEINFO = @MAKEINFO@
|
118
|
-
MKDIR_P = @MKDIR_P@
|
119
121
|
OBJEXT = @OBJEXT@
|
120
122
|
PACKAGE = @PACKAGE@
|
121
123
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
@@ -125,18 +127,20 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|
125
127
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
126
128
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
127
129
|
RANLIB = @RANLIB@
|
128
|
-
SED = @SED@
|
129
130
|
SET_MAKE = @SET_MAKE@
|
130
131
|
SHELL = @SHELL@
|
131
132
|
STRIP = @STRIP@
|
132
133
|
VERSION = @VERSION@
|
133
|
-
|
134
|
-
abs_srcdir = @abs_srcdir@
|
135
|
-
abs_top_builddir = @abs_top_builddir@
|
136
|
-
abs_top_srcdir = @abs_top_srcdir@
|
134
|
+
ac_ct_AR = @ac_ct_AR@
|
137
135
|
ac_ct_CC = @ac_ct_CC@
|
138
136
|
ac_ct_CXX = @ac_ct_CXX@
|
139
137
|
ac_ct_F77 = @ac_ct_F77@
|
138
|
+
ac_ct_RANLIB = @ac_ct_RANLIB@
|
139
|
+
ac_ct_STRIP = @ac_ct_STRIP@
|
140
|
+
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
141
|
+
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
142
|
+
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
143
|
+
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
140
144
|
am__include = @am__include@
|
141
145
|
am__leading_dot = @am__leading_dot@
|
142
146
|
am__quote = @am__quote@
|
@@ -148,39 +152,28 @@ build_alias = @build_alias@
|
|
148
152
|
build_cpu = @build_cpu@
|
149
153
|
build_os = @build_os@
|
150
154
|
build_vendor = @build_vendor@
|
151
|
-
builddir = @builddir@
|
152
155
|
datadir = @datadir@
|
153
|
-
datarootdir = @datarootdir@
|
154
|
-
docdir = @docdir@
|
155
|
-
dvidir = @dvidir@
|
156
156
|
exec_prefix = @exec_prefix@
|
157
157
|
host = @host@
|
158
158
|
host_alias = @host_alias@
|
159
159
|
host_cpu = @host_cpu@
|
160
160
|
host_os = @host_os@
|
161
161
|
host_vendor = @host_vendor@
|
162
|
-
htmldir = @htmldir@
|
163
162
|
includedir = @includedir@
|
164
163
|
infodir = @infodir@
|
165
164
|
install_sh = @install_sh@
|
166
165
|
libdir = @libdir@
|
167
166
|
libexecdir = @libexecdir@
|
168
|
-
localedir = @localedir@
|
169
167
|
localstatedir = @localstatedir@
|
170
168
|
mandir = @mandir@
|
171
169
|
mkdir_p = @mkdir_p@
|
172
170
|
oldincludedir = @oldincludedir@
|
173
|
-
pdfdir = @pdfdir@
|
174
171
|
prefix = @prefix@
|
175
172
|
program_transform_name = @program_transform_name@
|
176
|
-
psdir = @psdir@
|
177
173
|
sbindir = @sbindir@
|
178
174
|
sharedstatedir = @sharedstatedir@
|
179
|
-
srcdir = @srcdir@
|
180
175
|
sysconfdir = @sysconfdir@
|
181
176
|
target_alias = @target_alias@
|
182
|
-
top_builddir = @top_builddir@
|
183
|
-
top_srcdir = @top_srcdir@
|
184
177
|
AUTOMAKE_OPTIONS = foreign no-dependencies
|
185
178
|
VERSION_INFO = 0:1
|
186
179
|
EXTRA_DIST = LICENSE Changelog autogen.sh \
|
@@ -230,7 +223,7 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
230
223
|
config.h: stamp-h1
|
231
224
|
@if test ! -f $@; then \
|
232
225
|
rm -f stamp-h1; \
|
233
|
-
$(MAKE)
|
226
|
+
$(MAKE) stamp-h1; \
|
234
227
|
else :; fi
|
235
228
|
|
236
229
|
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
@@ -252,6 +245,7 @@ clean-libtool:
|
|
252
245
|
|
253
246
|
distclean-libtool:
|
254
247
|
-rm -f libtool
|
248
|
+
uninstall-info-am:
|
255
249
|
|
256
250
|
# This directory's subdirectories are mostly independent; you can cd
|
257
251
|
# into them and run `make' without going through this Makefile.
|
@@ -284,7 +278,8 @@ $(RECURSIVE_TARGETS):
|
|
284
278
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
285
279
|
fi; test -z "$$fail"
|
286
280
|
|
287
|
-
|
281
|
+
mostlyclean-recursive clean-recursive distclean-recursive \
|
282
|
+
maintainer-clean-recursive:
|
288
283
|
@failcom='exit 1'; \
|
289
284
|
for f in x $$MAKEFLAGS; do \
|
290
285
|
case $$f in \
|
@@ -386,22 +381,24 @@ distclean-tags:
|
|
386
381
|
|
387
382
|
distdir: $(DISTFILES)
|
388
383
|
$(am__remove_distdir)
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
399
|
-
sort -u` ;; \
|
400
|
-
esac; \
|
401
|
-
for file in $$dist_files; do \
|
384
|
+
mkdir $(distdir)
|
385
|
+
$(mkdir_p) $(distdir)/libev-3.2 $(distdir)/src $(distdir)/test
|
386
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
387
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
388
|
+
list='$(DISTFILES)'; for file in $$list; do \
|
389
|
+
case $$file in \
|
390
|
+
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
391
|
+
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
392
|
+
esac; \
|
402
393
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
394
|
+
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
395
|
+
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
396
|
+
dir="/$$dir"; \
|
397
|
+
$(mkdir_p) "$(distdir)$$dir"; \
|
398
|
+
else \
|
399
|
+
dir=''; \
|
400
|
+
fi; \
|
403
401
|
if test -d $$d/$$file; then \
|
404
|
-
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
405
402
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
406
403
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
407
404
|
fi; \
|
@@ -415,7 +412,7 @@ distdir: $(DISTFILES)
|
|
415
412
|
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
416
413
|
if test "$$subdir" = .; then :; else \
|
417
414
|
test -d "$(distdir)/$$subdir" \
|
418
|
-
|| $(
|
415
|
+
|| $(mkdir_p) "$(distdir)/$$subdir" \
|
419
416
|
|| exit 1; \
|
420
417
|
distdir=`$(am__cd) $(distdir) && pwd`; \
|
421
418
|
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
@@ -423,8 +420,6 @@ distdir: $(DISTFILES)
|
|
423
420
|
$(MAKE) $(AM_MAKEFLAGS) \
|
424
421
|
top_distdir="$$top_distdir" \
|
425
422
|
distdir="$$distdir/$$subdir" \
|
426
|
-
am__remove_distdir=: \
|
427
|
-
am__skip_length_check=: \
|
428
423
|
distdir) \
|
429
424
|
|| exit 1; \
|
430
425
|
fi; \
|
@@ -432,7 +427,7 @@ distdir: $(DISTFILES)
|
|
432
427
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
433
428
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
434
429
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
435
|
-
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
430
|
+
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
436
431
|
|| chmod -R a+r $(distdir)
|
437
432
|
dist-gzip: distdir
|
438
433
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
@@ -507,7 +502,7 @@ distcheck: dist
|
|
507
502
|
$(am__remove_distdir)
|
508
503
|
@(echo "$(distdir) archives ready for distribution: "; \
|
509
504
|
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
510
|
-
sed -e
|
505
|
+
sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
|
511
506
|
distuninstallcheck:
|
512
507
|
@cd $(distuninstallcheck_dir) \
|
513
508
|
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
@@ -577,20 +572,12 @@ info-am:
|
|
577
572
|
|
578
573
|
install-data-am:
|
579
574
|
|
580
|
-
install-dvi: install-dvi-recursive
|
581
|
-
|
582
575
|
install-exec-am:
|
583
576
|
|
584
|
-
install-html: install-html-recursive
|
585
|
-
|
586
577
|
install-info: install-info-recursive
|
587
578
|
|
588
579
|
install-man:
|
589
580
|
|
590
|
-
install-pdf: install-pdf-recursive
|
591
|
-
|
592
|
-
install-ps: install-ps-recursive
|
593
|
-
|
594
581
|
installcheck-am:
|
595
582
|
|
596
583
|
maintainer-clean: maintainer-clean-recursive
|
@@ -611,26 +598,24 @@ ps: ps-recursive
|
|
611
598
|
|
612
599
|
ps-am:
|
613
600
|
|
614
|
-
uninstall-am:
|
601
|
+
uninstall-am: uninstall-info-am
|
615
602
|
|
616
|
-
|
617
|
-
install-strip
|
603
|
+
uninstall-info: uninstall-info-recursive
|
618
604
|
|
619
|
-
.PHONY: $(
|
620
|
-
|
621
|
-
|
622
|
-
dist-
|
605
|
+
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
|
606
|
+
check-am clean clean-generic clean-libtool clean-recursive \
|
607
|
+
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
|
608
|
+
dist-shar dist-tarZ dist-zip distcheck distclean \
|
623
609
|
distclean-generic distclean-hdr distclean-libtool \
|
624
|
-
distclean-tags distcleancheck distdir
|
625
|
-
dvi-am html html-am info info-am
|
626
|
-
install
|
627
|
-
install-exec
|
628
|
-
install-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
tags tags-recursive uninstall uninstall-am
|
610
|
+
distclean-recursive distclean-tags distcleancheck distdir \
|
611
|
+
distuninstallcheck dvi dvi-am html html-am info info-am \
|
612
|
+
install install-am install-data install-data-am install-exec \
|
613
|
+
install-exec-am install-info install-info-am install-man \
|
614
|
+
install-strip installcheck installcheck-am installdirs \
|
615
|
+
installdirs-am maintainer-clean maintainer-clean-generic \
|
616
|
+
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
617
|
+
mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
|
618
|
+
tags tags-recursive uninstall uninstall-am uninstall-info-am
|
634
619
|
|
635
620
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
636
621
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|