fixed the bug that maxRequestLength only works in the case protocol pari...

...ng require caching