Browse Source

[core] comment possible future ls-hpack optimize

master
Glenn Strauss 1 year ago
parent
commit
06df2716f2
  1. 3
      src/ls-hpack/lshpack.c
  2. 4
      src/ls-hpack/lshpack.h

3
src/ls-hpack/lshpack.c

@ -22,6 +22,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
/*(lighttpd customization)*/
/*#define NDEBUG*/
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>

4
src/ls-hpack/lshpack.h

@ -40,6 +40,10 @@ extern "C" {
#define lshpack_strlen_t lsxpack_strlen_t
#define LSHPACK_MAX_STRLEN LSXPACK_MAX_STRLEN
/*(lighttpd customization)*/
/* decoder provides "field-name: value\r\n"; define to 0 to omit ": " and "\r\n" */
/*#define LSHPACK_DEC_HTTP1X_OUTPUT 0*/
#ifndef LSHPACK_DEC_HTTP1X_OUTPUT
#define LSHPACK_DEC_HTTP1X_OUTPUT 1
#endif

Loading…
Cancel
Save