Skip to content

ByteCode And Route Matching Crash Fixes

Latest
Compare
Choose a tag to compare
@BlankDev117 BlankDev117 released this 12 Feb 06:01
f3c0f05
Fix Various Bugs (route matching, unit tests, etc.) (#7)

Motivation
----
* There is an index out of range issue that arises when comparing requested routes to configure routes that are shorter
* README missing a few small bits of information that might be helpful
* A byte code issue is causing a crash when parsing the body of a request

Modifications
----
* Adjusted route matching to break out early when routes do not have same length (fails match)
* Updated io request to trim the byte code causing the crash
* Updated README

Result
-----
Gomockserver should not crash for the reasons above