]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/mime_header.cc
f8f5354e978f51f166eb3e1d0b2fcdae043ed75b
2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
9 /* DEBUG: section 25 MiME Header Parsing */
13 #include "profiler/Profiler.h"
16 headersEnd(const char *mime
, size_t l
, bool &containsObsFold
)
20 containsObsFold
= false;
22 PROF_start(headersEnd
);
24 while (e
< l
&& state
< 3) {
37 else if ('\n' == mime
[e
])
39 else if (' ' == mime
[e
] || '\t' == mime
[e
]) {
40 containsObsFold
= true;
61 PROF_stop(headersEnd
);