view auto/lib/sha1/makefile.owc @ 4460:6299d1c4dbb4

Upstream: fixed "too big header" check. If header filter postponed processing of a header by returning NGX_AGAIN and not moved u->buffer->pos, previous check incorrectly assumed there is additional space and did another recv() with zero-size buffer. This resulted in "upstream prematurely closed connection" error instead of correct "upstream sent too big header" one. Patch by Feibo Li.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 10 Feb 2012 14:31:04 +0000
parents d620f497c50f
children
line wrap: on
line source


# Copyright (C) Igor Sysoev
# Copyright (C) Nginx, Inc.


CFLAGS = -zq -bt=nt -bm -ot -op -oi -oe -s $(CPU_OPT)

sha1.lib:
	cd $(SHA1)
	wcl386 -c $(CFLAGS) -dL_ENDIAN sha1dgst.c
	wlib -n sha1.lib sha1dgst.obj