HTTP bug
#8

Quote:
Originally Posted by IstuntmanI
Посмотреть сообщение
@Puppy:

pawn Код:
#define MAILER_URL "site.com/Folder/mailsender.php" // site.com redirects to forum.site.com, and site.com/Forum/ is not existing.
#include "mailer" // Mailer by Slice

public OnFilterScriptInit( )
{
    SendMail( "<my email>", "<sender email>", "<sender email name>", "Crash", "Crash message" );
    return 1;
}
After that, the returning callback is printing (printing code added by me, the default one from the include is not showing anything, szData[ ] is simply empty, or something like that) "53261, 301" (the first is the index, 0xD00D, and the second one is response code, 301), the server hangs (nothing can be written in console) when the function ends and then after few seconds of waiting it simply crashes.

I tried to debug the crash with Microsoft Visual Studio 2013 Professional - Debugger:

(I don't know if it helps at all, I don't really know how to use it, but it was an option to debug that crash)

There are no crashdetect debugs when it crashes.
^ Exactly.

For me, my site uses cloudflare and the entire site was being DDoSed, the server did return a value in szData then instantly crashed (linux AND windows, no crashinfo or crashdetect log)

pawn Код:
[00:19:21] [SYSTEM:: OnMailScriptResponse] - szData: <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<meta http-equiv="refresh" content="0">
<meta http-equiv="set-cookie" content="cf_use_ob=80; expires=Mon, 04-May-15 22:13:26 GMT; path=/">
<meta http-equiv="set-cookie" content="cf_ob_info=522:1e178c70c18e14fd:CDG; expires=Mon, 04-May-15 22:13:26 GMT; path=/">
<title>lvcnr.net | 522: Connection timed out</title>
<meta charset="UTF-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
<meta name="robots" content="noindex, nofollow"/>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"/>
<script type="text/javascript">
//<![CDATA[
try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:0,byc:0,owlid:"cf",bag2:1,mirage2:0,oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/dok3v=1613a3a185/"},atok:"fddf22e09f644fc5ae39ac15571b22db",petok:"e1927086e5aea22b9d91af4f02f4a3e387ec6d24-1430777576-1800",zone:"lvcnr.net",rocket:"0",apps:{"ga_key":{"ua":"UA-51237611-1","ga_bs":"2"}}}];CloudFlare.push({"apps":{"ape":"b14c63b4b02e2d4a196e492aa6828f75"}});!function(a,b){a=document.createElement("script"),b=document.getElementsByTagName("script")[0],a.async=!0,a.src="//ajax.cloudflare.com/cdn-cgi/nexp/dok3v=7e13c32551/cloudflare.min.js",b.parentNode.insertBefore(a,b)}()}}catch(e){};
//]]>
</script>
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection"/>
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->
<style type="text/css">body{margin:0;padding:0}</style>
<!--[if lte IE 9]><script type="text/javascript" src="/cdn-cgi/scripts/jquery.min.js"></script><![endif]-->
<!--[if gte IE 10]><!--><script type="text/javascript" src="/cdn-cgi/scripts/zepto.min.js"></script><!--<![endif]-->
<script type="text/javascript" src="/cdn-cgi/scripts/cf.common.js"></script>
<script type="text/javascript">
/* <![CDATA[ */
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-51237611-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.******-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

(function(b){(function(a){"__CF"in b&&"DJS"in b.__CF?b.__CF.DJS.push(a):"addEventListener"in b?b.addEventListener("load",a,!1):b.attachEvent("onload",a)})(function(){"FB"in b&&"Event"in FB&&"subscribe"in FB.Event&&(FB.Event.subscribe("edge.create",function(a){_gaq.push(["_trackSocial","********","like",a])}),FB.Event.subscribe("edge.remove",function(a){_gaq.push(["_trackSocial","********","unlike",a])}),FB.Event.subscribe("message.send",function(a){_gaq.push(["_trackSocial","********","send",a])}));"twttr"in b&&"events"in twttr&&"bind"in twttr.events&&twttr.events.bind("tweet",function(a){if(a){var b;if(a.target&&a.target.nodeName=="IFRAME")a:{if(a=a.target.src){a=a.split("#")[0].match(/[^?=&]+=([^&]*)?/g);b=0;for(var c;c=a[b];++b)if(c.indexOf("url")===0){b=unescape(c.split("=")[1]);break a}}b=void 0}_gaq.push(["_trackSocial","*******","tweet",b])}})})})(window);
/* ]]> */
</script>
</head>
<body><script type="text/javascript">
//<![CDATA[
try{(function(a){var b="http://",c="lvcnr.net",d="/cdn-cgi/cl/",e="img.gif",f=new a;f.src=[b,c,d,e].join("")})(Image)}catch(e){}
//]]>
</script>
<div id="cf-wrapper">
<div id="cf-error-details" class="cf-error-details-wrapper">
<div class="cf-wrapper cf-error-overview">
<h1>
<span class="cf-error-type" data-translate="error">Error</span>
<span class="cf-error-code">522
After that.. CRASH.


As you can see we've reported about 3 different bugs with the HTTP function here. Please guys if you have nothing worthy of saying, don't say it. If you guys have different recreations or more HTTP bugs feel free to report them.
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)