Commit Graph

5 Commits (c4b22efa5a2ffad8eac012aca852a112af40298d)

Author SHA1 Message Date
Daniel Roethlisberger 06a02f946a Always explicitly name the non-null arguments
Always explicitly name which arguments are non-null, even if all
arguments are non-null.  This is to avoid bugs where newly added
arguments are automatically non-null by accident, possibly leading to
optimisation errors.

This also fixes a few potential errors related to non-null arguments;
specifically it prevents the compiler optimising away a test for sni
being NULL in cachedsess_mkkey().

Issue:		#14
Reported by:	kythyria
11 years ago
Daniel Roethlisberger ca923ee7f1 Update copyright notices to 2014 11 years ago
Daniel Roethlisberger c972501063 Update copyright notices 11 years ago
Daniel Roethlisberger ef1330d69f Remove const from util_skipws() and add tests 12 years ago
Daniel Roethlisberger 07d591fccf Skip whitespace when parsing HTTP headers 12 years ago