Skip to content

Instantly share code, notes, and snippets.

@esigler
esigler / keybase.md
Last active April 1, 2017 21:53
keybase.md

Keybase proof

I hereby claim:

  • I am esigler on github.
  • I am esigler (https://keybase.io/esigler) on keybase.
  • I have a public key whose fingerprint is 31F4 FFB0 782F D25B EAF5 0771 3420 CEF7 D05F 60E7

To claim this, I am signing this object:

@esigler
esigler / start_time_nginx_1_0_14.patch
Created March 28, 2012 17:40
Patch to add "start_time" HTTP variable to Nginx 1.0.14
--- src/http/ngx_http_variables.c.orig 2012-03-23 15:38:22.000000000 -0700
+++ src/http/ngx_http_variables.c 2012-03-23 15:44:24.000000000 -0700
@@ -94,6 +94,9 @@
static ngx_int_t ngx_http_variable_pid(ngx_http_request_t *r,
ngx_http_variable_value_t *v, uintptr_t data);
+static ngx_int_t ngx_http_variable_start_time(ngx_http_request_t *r,
+ ngx_http_variable_value_t *v, uintptr_t data);
+
/*
@esigler
esigler / altering-test-to-destroy-connection-instead-of-end
Created November 4, 2010 05:33
This should prevent the test from failing on FreeBSD (tested with node latest & FreeBSD 8.1-RELEASE)
From 29b1ba44c6909d666676bc69837a037ef709d153 Mon Sep 17 00:00:00 2001
From: Eric Sigler <me@esigler.com>
Date: Thu, 4 Nov 2010 00:30:17 +0000
Subject: [PATCH] Altering test to destroy() connection instead of end(), to avoid testing invalid data
---
test/simple/test-http-upgrade-server.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/simple/test-http-upgrade-server.js b/test/simple/test-http-upgrade-server.js