Skip to content

Instantly share code, notes, and snippets.

View smfreegard's full-sized avatar

Steve Freegard smfreegard

  • Fort Systems Ltd.
  • Chichester, UK
View GitHub Profile
@smfreegard
smfreegard / gist:3503446
Created August 28, 2012 19:52
socket.setTimeout issues
With socket.setTimeout(300 * 1000);
write(26, "SYMBOLS SPAMC/1.3\r\n", 19) = 19
gettimeofday({1346183319, 801942}, NULL) = 0
futex(0x87386e4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x87386e0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x87386b8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0xb760046c, FUTEX_WAKE_PRIVATE, 1) = 1
gettimeofday({1346183319, 802733}, NULL) = 0
write(26, "User: [email protected]\r\n\r\n", 32) = 32
gettimeofday({1346183319, 803082}, NULL) = 0
[root@mail1-ec2 Haraka]# diff -uNr plugins.js.orig plugins.js
--- plugins.js.orig 2012-04-14 15:22:47.575558052 +0000
+++ plugins.js 2012-04-16 17:56:01.915136250 +0000
@@ -30,6 +30,7 @@
this.full_paths = full_paths;
this.config = config;
this.hooks = {};
+ this.server = {}; // set by server.js
};