libnodelay.git  about / heads / tags
LD_PRELOAD library to disable Nagle's algorithm
blob 04d80c06bffbbc48b64ab5bdecbc4e31293dd2d9 1381 bytes (raw)
$ git show v0.0.1:README	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
 
libnodelay - LD_PRELOAD library to disable Nagle's algorithm
============================================================

If you're tired of digging through a mess of code and confusing/obscure
configuration options, you should LD_PRELOAD this library instead.

Disabling Nagle's algorithm can result in a performance improvement
for latency-sensitive applications that use TCP.

More about Nagle's algorithm is here:

  <http://en.wikipedia.org/wiki/Nagle%27s_algorithm>

Home directory Installation
---------------------------

This will install libnodelay.so in your $HOME/lib

	$ make
	$ make install

System-wide Installation
------------------------

This will install libnodelay.so in /usr/lib

	$ make
	# make install prefix=/usr

Usage
-----

	$ LD_PRELOAD=/path/to/libnodelay.so YOUR_COMMAND

Development
-----------

You may clone the source repository via git:

* git://git.bogomips.org/libnodelay.git
* <http://git.bogomips.org/libnodelay.git>
* git://repo.or.cz/libnodelay.git (mirror)
* <http://repo.or.cz/r/libnodelay.git> (mirror)

You may also browse the source code or obtain tarballs from cgit:

* <http://git.bogomips.org/cgit/libnodelay.git>

Or via gitweb:

* <http://repo.or.cz/w/libnodelay.git>

Copyright
---------

libnodelay is copyright (C) 2009 Eric Wong <normalperson@yhbt.net>.
It is covered under the GNU Lesser General Public License, version 3.

git clone https://yhbt.net/libnodelay.git