]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-http: http-server now always creates a payload istream, even empty one.
authorTimo Sirainen <tss@iki.fi>
Sun, 10 May 2015 08:20:37 +0000 (11:20 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 10 May 2015 08:20:37 +0000 (11:20 +0300)
commit0d7dc1d6ca80cb99a61f2bb44a04c6279c7c107f
tree8a5e4ff4d4baa12fc84fd404e70939c82e9232b0
parentba57ea2c696f9e9aae909f073069848876a641f4
lib-http: http-server now always creates a payload istream, even empty one.
This simplifies the caller's logic so that it doesn't need to explicitly
check if payload is NULL everywhere.
src/lib-http/http-server-connection.c