ironsmile / nedomi

Highly performant HTTP reverse proxy with efficient caching of big files
GNU General Public License v3.0
81 stars 9 forks source link

add NotNilNextHandler error type and use it in handler.proxy #144

Closed mstoykov closed 9 years ago

mstoykov commented 9 years ago

for handlers who do not call next (ever) it's unreasonable to have next handler - it's most probably configuration error which may or may not be fatal. For this reasons it should be prohibited.