commit | 74b08c9ab792140a0423dc0e78ac15bb4ace812a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Sep 08 17:04:31 2010 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 08 17:04:31 2010 +0200 |
tree | 1e47a6ea24bf5ab378c9b141cb84f474ed8b5fe5 | |
parent | d8ccffe0f6c1517cf112032d1cf5fb62f43dbb61 [diff] |
[MEDIUM] buffers: rework the functions to exchange between SI and buffers There was no consistency between all the functions used to exchange data between a buffer and a stream interface. Also, the functions used to send data to a buffer did not consider the possibility that the buffer was shutdown for read. Now the functions are called buffer_{put,get}_{char,block,chunk,string}. The old buffer_feed* functions have been left available for existing code but marked deprecated.