Squashed commit of the following:

commit b627e0e1ab1340411b9861bffb9dc9d164d0066a
Author: Charlie Schluting <charlie@schluting.com>
Date:   Thu Aug 30 17:10:37 2012 -0700

    test -n is what I really wanted :)

commit be7b3469b4246304482860c72281b7f2dbd63340
Author: Charlie Schluting <charlie@schluting.com>
Date:   Thu Aug 30 16:57:51 2012 -0700

    again, automake is *not* make.

commit 4c9661d0cbc0ec6096a1fbcad81c03951995d05b
Author: Charlie Schluting <charlie@schluting.com>
Date:   Thu Aug 30 16:17:36 2012 -0700

    automake, not GNU make syntax

commit ed88dd7b98b0a2f9c348b714676ebc9bbe252146
Author: Charlie Schluting <charlie@schluting.com>
Date:   Thu Aug 30 16:14:25 2012 -0700

    indentation is a lie

commit 168633a81dd69d1ff76aaea5212ab22e21f6a2fd
Author: Charlie Schluting <charlie@schluting.com>
Date:   Thu Aug 30 16:11:55 2012 -0700

    endif required.

commit 399552489c4b1fd9021930cc49efbd3848fc6fdf
Merge: 1711427 d03a23b
Author: Charlie Schluting <charlie@schluting.com>
Date:   Thu Aug 30 16:10:59 2012 -0700

    Merge branch 'master' of github.com:jib/libvmod-timers

commit 1711427eea040c9d893ad5162c069072968af8cf
Author: Charlie Schluting <charlie@schluting.com>
Date:   Thu Aug 30 16:10:29 2012 -0700

    too many colons :)

commit d03a23b468a6c9d1bbff15de3c40bcc3822858b7
Merge: 76ce800 6bf3260
Author: jib <github@dwim.org>
Date:   Thu Aug 30 16:08:26 2012 -0700

    Merge pull request #1 from jib/makefile-lovin

    make it work both manually, and with defaults based on

commit 6bf32603743b76d58f2f8d42f529ba2d288d71d7
Author: Charlie Schluting <charlie@schluting.com>
Date:   Thu Aug 30 16:06:41 2012 -0700

    adding docs.

commit cdd8662560e9d00e834d9e067ae8cc425529d53a
Author: Charlie Schluting <charlie@schluting.com>
Date:   Thu Aug 30 15:55:24 2012 -0700

    make it work both manually, and with defaults based on
    building as part of varnish (where we've included this as a subtree in varnish's lib/ dir)

commit 76ce8000f0fb02fe369b8c752f7bce6626016206
Author: Jos Boumans <jos@krux.com>
Date:   Wed Aug 29 21:27:59 2012 +0000

    * charlie lied - we dont need it checked in

commit ce73cb07da74071fa85b01c34e953ba28d07ab0b
Author: Jos Boumans <jos@krux.com>
Date:   Tue Aug 28 18:06:41 2012 +0000

    * to assist in building packages from varnish source

commit 4ae7684825d9b8003c436a1c584c17cca6db09a0
Author: Jos Boumans <jos@krux.com>
Date:   Fri Aug 24 20:36:58 2012 +0000

    * update documentation

commit 46c80df1b5a21d424ce6657e609db8eb9cd51175
Author: Jos Boumans <jos@krux.com>
Date:   Fri Aug 24 19:57:36 2012 +0000

    * basic tests

commit 0e71364c98e858b3318a6eee527dbc6a521aeae9
Author: Jos Boumans <jos@krux.com>
Date:   Fri Aug 24 03:27:36 2012 +0000

    * so there's a directory in git

commit f89729ca0aab08e5013ae80e7a80378240eaff56
Author: Jos Boumans <jos@krux.com>
Date:   Thu Aug 23 23:35:54 2012 +0000

    * basic request time stuff implemented

commit a399381163e7ddd5214f97e41cc20945314f417e
Author: Jos Boumans <jos@krux.com>
Date:   Thu Aug 23 18:58:20 2012 +0000

    * continue rename

commit f5e592a48129fccce18199401d1bd4e90ec059ef
Author: Jos Boumans <jos@krux.com>
Date:   Thu Aug 23 18:55:35 2012 +0000

    * rename to vmod_timers

commit f126aa7ac7a3eb5e286fc68d4c027866ec2c091f
Author: Jos Boumans <jos@krux.com>
Date:   Thu Aug 23 18:54:06 2012 +0000

    * initial commit, copied from libvmod-example
Squashed commit of the following:

commit e2cd0639965ab75c7150cde8a1b92be9461ec7ac
Author: Charlie Schluting <charlie@schluting.com>
Date:   Thu Aug 30 17:12:36 2012 -0700

    correct fixes to make automake actually work...

commit d738880f76aec590d4611605ad6df153e43fafaf
Author: Charlie Schluting <charlie@schluting.com>
Date:   Thu Aug 30 16:06:03 2012 -0700

    adding docs

commit 76e772c27605f1a9966aab0135f161e3ec7e74bc
Author: Charlie Schluting <charlie@schluting.com>
Date:   Thu Aug 30 16:01:34 2012 -0700

    make it work both manually, and with defaults based on
    building as part of varnish (where we've included this as a subtree in varnish's lib/ dir)

commit f0993e4cebe60f3f962ca835f6f3d1e2da501b61
Author: Jos Boumans <jos@krux.com>
Date:   Wed Aug 29 21:27:47 2012 +0000

    * charlie lied - we dont need it checked in

commit 127678d47c64109ee7ad1f1972468b32bd701aaf
Author: Jos Boumans <jos@krux.com>
Date:   Wed Aug 29 21:16:04 2012 +0000

    * strip newline off the packet to work better with statsd 0.5.0 which records it as a "bad line" - see comments for details

commit 60b6bb37b71fe32fa600d059dce20efaf193886b
Author: Jos Boumans <jos@krux.com>
Date:   Tue Aug 28 18:06:30 2012 +0000

    * to assist in building packages from varnish source

commit fa66fdd62de6a2db4eeef8430a6902624f232d33
Author: Jos Boumans <jos@krux.com>
Date:   Tue Aug 28 02:51:53 2012 +0000

    * make sure NULL pointers dont crash the module

commit 2b8455f348911e4a78a4288aa5d628a98a81994a
Author: Jos Boumans <jos@krux.com>
Date:   Fri Aug 24 19:40:40 2012 +0000

    * revert back to port 1

commit 3f2dc4e4e840d2814862959cf04a8d62e2fae586
Author: Jos Boumans <jos@krux.com>
Date:   Fri Aug 24 18:59:07 2012 +0000

    * be better about return values with failing sockets

commit 126241a556ff153b40c59660794cfec59deecc38
Author: Jos Boumans <jos@krux.com>
Date:   Fri Aug 24 18:47:26 2012 +0000

    * apparently std.fileread() appends a newline, even if the original file does not have one. So, we compensate here, to be safe

commit d196bfc5a735e1dec1249f676edebb7b83e67355
Author: Jos Boumans <jos@krux.com>
Date:   Fri Aug 24 02:34:59 2012 +0000

    * int can have a much larger string representation than sizeof(int) - so just allocate 15 bytes and be done with it. update the tests to match

commit 88df873c7292224607e062cf33fed29b70849e28
Author: Jos Boumans <jos@krux.com>
Date:   Thu Aug 23 23:35:08 2012 +0000

    * we dont use this define anymore

commit 55a6787aafb62c052a3cdcc9efcd40f10c37da4f
Author: Jos Boumans <jos@krux.com>
Date:   Thu Aug 23 02:16:37 2012 +0000

    * whitespace silliness

commit 6f5e815419839a96c4955bcac3a0edef448f0eff
Author: Jos Boumans <jos@krux.com>
Date:   Thu Aug 23 02:12:56 2012 +0000

    * use the .rst version - that can create manpages too

commit 26f9de0c5ceb7100520f1c157560407b70d706e0
Author: Jos Boumans <jos@krux.com>
Date:   Thu Aug 23 02:11:53 2012 +0000

    * add documentation, add a comment

commit 2d3db58dd622b3be99151fcc5f701f819398f9fc
Author: Jos Boumans <jos@krux.com>
Date:   Thu Aug 23 01:40:13 2012 +0000

    * most basic test case

commit 9a5674730a36352be00366e0fb08e89fee0bb435
Author: Jos Boumans <jos@krux.com>
Date:   Thu Aug 23 01:30:20 2012 +0000

    * missing new line. also, add howto for getting response times (yay!)

commit 549d3598507668005bbcbc84357b8f44667e8282
Author: Jos Boumans <jos@krux.com>
Date:   Thu Aug 23 00:12:51 2012 +0000

    * connect on demand. also, fix stupid off-by-one error

commit 33e6802a699796321e06d01730ea4b6d6526edc8
Author: Jos Boumans <jos@krux.com>
Date:   Wed Aug 22 22:42:16 2012 +0000

    * add prefix/suffix support

commit 8c10165fc0664139eeb357d79868bcc1c6471a3f
Author: Jos Boumans <jos@krux.com>
Date:   Wed Aug 22 21:32:35 2012 +0000

    * initial working version - this sends stats over udp

commit 279df58b376287bd7e71edf74749d31f6f9397f6
Author: Jos Boumans <jos@krux.com>
Date:   Tue Aug 21 21:17:35 2012 +0000

    * barebones implementation

commit cc975370dc5c63fc66dadc848a37a83c63eeb509
Author: Jos Boumans <jos@krux.com>
Date:   Tue Aug 21 21:16:53 2012 +0000

    * update from example -> statsd using:
      find . -type f | xargs grep -l example | grep -v \.git | xargs perl -pi -e 's/example/statsd/g'

commit bf303ed3441234decefb70ff20ff5ccc8a5ee062
Author: Jos Boumans <jos@krux.com>
Date:   Tue Aug 21 21:15:15 2012 +0000

    * rename to vmod_statsd

commit ab66114e4ea9619957e255b163e46ed750840226
Author: Jos Boumans <jos@krux.com>
Date:   Tue Aug 21 21:14:42 2012 +0000

    * initial import, straight from vmod-example*

commit e272b24190d8d83a49f3c379aed941b509cb44cc
Author: Jos Boumans <jos@krux.com>
Date:   Tue Aug 21 21:13:35 2012 +0000

    * add git ignore from vmod-example

commit a1d195ef83560fe59c0e50486e9b92d889a844af
Author: jib <github@dwim.org>
Date:   Tue Aug 21 13:39:21 2012 -0700

    Initial commit