view auto/lib/pcre/makefile.owc @ 2327:be8c6159590b stable-0.6

r2281 merge: always use buffer, if connection is buffered, this fixes OpenSSL "bad write retry" error, when *) nginx passed a single buf greater than our buffer (say 32K) to OpenSSL, *) OpenSSL returns SSL_ERROR_WANT_WRITE, *) after some time nginx has to send a new data, *) so there are at least two bufs nginx does pass them directly to OpenSSL, *) but copies the first buf part to buffer, and sends the buffer to OpenSSL. *) because the data length is lesser than it was in previous SSL_write(): 16K < 32K, OpenSSL returns SSL_R_BAD_WRITE_RETRY.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 20 Nov 2008 17:20:15 +0000
parents b1648294f693
children ecdc41bf2047
line wrap: on
line source


# Copyright (C) Igor Sysoev


CFLAGS =	-c -zq -bt=nt -ot -op -oi -oe -s -bm $(CPU_OPT)
PCREFLAGS =	-DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10


pcre.lib:	pcre.h
	wcl386 -zq -bt=nt -l=nt -fe=dftables dftables.c
	dftables > chartables.c

	wcl386 $(CFLAGS) $(PCREFLAGS) maketables.c get.c study.c pcre.c
	wlib -n pcre.lib maketables.obj get.obj study.obj pcre.obj


pcre.h:
	patch -o pcre.h pcre.in patch.pcre.in.owc
	patch -o config.h config.in patch.config.in