HTTP bug
#1

Hello,

Today I discovered something which looks like a SA-MP bug to the HTTP function. If I specify an "url" which has a redirect (in my case it was a "Moved Permanently" redirect) the "callback" will be called with response_code 301 ("Moved Permanently") and then the server will hang and then crash (I guess this happens also for the "temporary moved" address redirection, maybe others too). I specified a main domain address ("http://www.example.com") which had a redirect, not something like a subdomain with a redirect ("http://subdomain.example.com").

Can somebody confirm this ? I know that this is not an important bug, but still, it's a bug. It can be simply fixed by users by specifying another "url", but it should send a message in console that the "url" is not ok, or having it simply not crashing, or something like that.
Reply


Messages In This Thread
HTTP bug - by IstuntmanI - 01.05.2015, 21:35
Re: HTTP bug - by Kar - 04.05.2015, 22:58
AW: Re: HTTP bug - by NaS - 05.05.2015, 14:57
Re: AW: Re: HTTP bug - by Karagon - 07.05.2015, 16:11
Re: HTTP bug - by Puppy - 07.05.2015, 20:12
Re: HTTP bug - by Kar - 07.05.2015, 23:32
Re: HTTP bug - by IstuntmanI - 08.05.2015, 11:34
Re: HTTP bug - by Kar - 08.05.2015, 15:03
Re: HTTP bug - by Karagon - 08.05.2015, 17:55

Forum Jump:


Users browsing this thread: 1 Guest(s)