about summary refs log tree commit homepage
path: root/ext/http11/http11.c
diff options
context:
space:
mode:
authorfilipe <filipe@19e92222-5c0b-0410-8929-a290d50e31e9>2007-09-13 04:12:01 +0000
committerfilipe <filipe@19e92222-5c0b-0410-8929-a290d50e31e9>2007-09-13 04:12:01 +0000
commit706aef01fbbcee885fcb6d76228f669d48d16f25 (patch)
treea42509c89301d451300a3bc64dd1f2ac388bff66 /ext/http11/http11.c
parent6bfa360e4a418cf6d3531334cea185be0878c0ed (diff)
downloadunicorn-706aef01fbbcee885fcb6d76228f669d48d16f25.tar.gz
and he also close the bug upstream :D So we are in sync with his source code and bug 10279 is closed with this
commit.



git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@586 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'ext/http11/http11.c')
-rw-r--r--ext/http11/http11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http11/http11.c b/ext/http11/http11.c
index a201e0e..23df7d6 100644
--- a/ext/http11/http11.c
+++ b/ext/http11/http11.c
@@ -506,7 +506,7 @@ VALUE URIClassifier_resolve(VALUE self, VALUE uri)
   DATA_GET(self, struct tst, tst);
   uri_str = (unsigned char *)StringValueCStr(uri);
 
-  handler = tst_search(uri_str, tst, &pref_len);
+  handler = tst_search(uri_str, tst, TST_LONGEST_MATCH, &pref_len);
 
   /* setup for multiple return values */
   result = rb_ary_new();