c9s / r3

libr3 is a high-performance path dispatching library. It compiles your route paths into a prefix tree (trie). By using the constructed prefix trie in the start-up time, you may dispatch your routes with efficiency
http://c9s.github.com/r3/bench.html
MIT License
814 stars 83 forks source link

Got sig 11 when 'r3_tree_insert_pathl' with (wrongly) unclosed capture pattern #46

Closed CindyLinz closed 10 years ago

CindyLinz commented 10 years ago

with pattern "/a/{a" I got sig 11

c9s commented 10 years ago

fixed.

It now returns NULL when inserting path with wrong syntax. and fprintf error message to stderr.

I guess this behaviour should be fine (?)

c9s commented 10 years ago

fixed