Closed marceloinacio closed 8 years ago
Hi Marcelo, I'll take a look when I get back in two weeks. Have you looked at the limits of regexes in .Net ?
On 19 Aug 2016, at 21:46, Marcelo Marques Inacio notifications@github.com wrote:
Hi, I am using HttpMock in our UnitTests. I had a problem with a large Url request. (404 Not Found)
On EndpointMatchingRule.cs #line 42 and for pathMatch.IsMatch(pathToMatch) is returning false The interesting is if I send a request with more than 5K of "A" like "http://localhost:9191/AAAAAAAAA.... I have no problem.
I am attaching my example. Thank you
Marcelo
Program.txt
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Not yet. But it is working with a 32K object of "A" character. Maybe some encoded character is broking the Regex We can work together if you want. Tell me when you get back. Thanks
-------- Original message -------- From: Hibri Marzook notifications@github.com Date: 8/19/16 3:17 PM (GMT-06:00) To: hibri/HttpMock HttpMock@noreply.github.com Cc: Marcelo Marques Inacio marceloinacio@hotmail.com, Author author@noreply.github.com Subject: Re: [hibri/HttpMock] Regex issue (#56)
Hi Marcelo, I'll take a look when I get back in two weeks. Have you looked at the limits of regexes in .Net ?
On 19 Aug 2016, at 21:46, Marcelo Marques Inacio notifications@github.com wrote:
Hi, I am using HttpMock in our UnitTests. I had a problem with a large Url request. (404 Not Found)
On EndpointMatchingRule.cs #line 42 and for pathMatch.IsMatch(pathToMatch) is returning false The interesting is if I send a request with more than 5K of "A" like "http://localhost:9191/AAAAAAAAA.... I have no problem.
I am attaching my example. Thank you
Marcelo
Program.txt
You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/hibri/HttpMock/issues/56#issuecomment-241123712, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFcOaO4GAyLTIhUJMtuY86ayDawPeJ1Uks5qhg85gaJpZM4Joyy-.
Hi @marceloinacio
Were you reproduce this with a failing test ?
Hi, I am using HttpMock in our UnitTests. I had a problem with a large Url request. (404 Not Found)
On EndpointMatchingRule.cs #line 42 and for pathMatch.IsMatch(pathToMatch) is returning false The interesting is if I send a request with more than 5K of "A" like "http://localhost:9191/AAAAAAAAA.... I have no problem.
I am attaching my example. Thank you
Marcelo
Program.txt