This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/LuaJIT/src/lj_alloc.c b/src/LuaJIT/src/lj_alloc.c | |
index cd8dfc1..992d792 100644 | |
--- a/src/LuaJIT/src/lj_alloc.c | |
+++ b/src/LuaJIT/src/lj_alloc.c | |
@@ -177,7 +177,7 @@ static LJ_AINLINE int CALL_MUNMAP(void *ptr, size_t size) | |
#if LJ_64 | |
/* 64 bit mode needs special support for allocating memory in the lower 2GB. */ | |
-#if defined(MAP_32BIT) | |
+#if defined(MAP_32BIT) && !defined(BROKEN_MMAP_HINTS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- umem.c Wed Nov 27 16:09:41 2013 | |
+++ /var/tmp/umem.c Tue Dec 9 19:22:36 2014 | |
@@ -2363,7 +2363,7 @@ | |
else | |
mdb_printf("%3d", i); | |
- mdb_printf(" %0?p %0?p %16llx %0?p\n", addr, b->bc_addr, | |
+ mdb_printf(" %0?p %0?p %16llx %0?l#r\n", addr, b->bc_addr, | |
b->bc_timestamp, b->bc_thread); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/modules-lua/noit/module/http.lua b/src/modules-lua/noit/module/http.lua | |
index fd28676..af05d0f 100644 | |
--- a/src/modules-lua/noit/module/http.lua | |
+++ b/src/modules-lua/noit/module/http.lua | |
@@ -302,7 +302,7 @@ end | |
function initiate(module, check) | |
local config = check.interpolate(check.config) | |
local url = config.url or 'http:///' | |
- local schema, host, port, uri = string.match(url, "^(https?)://([^:/]*):?([0-9]*)(/?.*)$"); | |
+ local schema, host, sep, port, uri = string.match(url, "^(https?)://([^:/]*)(:?)([0-9]*)(/?.*)$"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/eventer/eventer_epoll_impl.c b/src/eventer/eventer_epoll_impl.c | |
index bd38f02..5945854 100644 | |
--- a/src/eventer/eventer_epoll_impl.c | |
+++ b/src/eventer/eventer_epoll_impl.c | |
@@ -275,14 +275,17 @@ static int eventer_epoll_impl_loop() { | |
__sleeptime = eventer_max_sleeptime; | |
+ gettimeofday(&__now, NULL); | |
eventer_dispatch_timed(&__now, &__sleeptime); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[epoll] | |
7f98ab2316da18bdec16f363a24fffa33594b4f2 | |
31c8acea680780c5223a2dd598f57536a0709f5d | |
ed5eb5431dd90bfbd4f7846c63abf835255b336a | |
3007704e69081040c95079acf761911cf477cba3 | |
471f1f3ef02e25a84d7c36c857ed260ae2b7ac99 | |
[devpoll fix] | |
3be4875ef74a065fc23b0ef8c8749f61ec1aa984 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.SUFFIXES: .lo | |
include Makefile.version | |
CC=gcc | |
LD=gcc | |
LN_S=ln -s | |
COPT=-O5 | |
TAR=tar | |
PREFIX=/usr/local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HttpServerSession::do_io_write+0xb() | |
HttpSM::state_api_callout+0x2d0() | |
HttpSM::do_http_server_open+0x268() | |
HttpSM::set_next_state+0x510() | |
HttpSM::state_api_callout+0x2d0() | |
HttpSM::set_next_state+0x248() | |
HttpSM::do_hostdb_lookup+0x272() | |
HttpSM::set_next_state+0xd9f() | |
HttpSM::state_api_callout+0x2d0() | |
HttpSM::state_cache_open_read+0x188() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
static void print_line(char *name, char *name2, char *val) { | |
char *typename = NULL, *endptr, newval[128]; | |
(void)strtod(val, &endptr); | |
if(*endptr == '\0') typename = "n"; | |
if(NULL == typename) { | |
long foo, base = 10; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/modules/fq_driver.c b/src/modules/fq_driver.c | |
index 52016ea..5636720 100644 | |
--- a/src/modules/fq_driver.c | |
+++ b/src/modules/fq_driver.c | |
@@ -229,6 +229,7 @@ noit_fq_submit(iep_thread_driver_t *dr, | |
if(*payload == 'M' || | |
*payload == 'S' || | |
*payload == 'C' || | |
+ (*payload == 'H' && payload[1] == '1') || | |
(*payload == 'F' && payload[1] == '1') || |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var amqp = require('amqp'), | |
sys = require('sys'); | |
var mqhost = process.argv[2]; | |
var exchange_name = process.argv[3]; | |
function expensive_op(str) { | |
return str; | |
} | |
var listen = function(f) { |