![](mime__header_8h__incl.png)
![](mime__header_8h__dep__incl.png)
Go to the source code of this file.
Functions | |
size_t | headersEnd (const char *, size_t, bool &containsObsFold) |
size_t | headersEnd (const SBuf &buf, bool &containsObsFold) |
size_t | headersEnd (const char *buf, size_t sz) |
Function Documentation
◆ headersEnd() [1/3]
Scan for the end of mime header block.
Which is one of the following octet patterns:
- CRLF CRLF, or
- CRLF LF, or
- LF CRLF, or
- LF LF or, if mime header block is empty:
- LF or
- CRLF
Also detects whether a obf-fold pattern exists within the mime block
- CR*LF (SP / HTAB)
- Parameters
-
containsObsFold will be set to true if obs-fold pattern is found.
Definition at line 17 of file mime_header.cc.
Referenced by detailEntryEnd(), Http::One::Parser::grabMimeBlock(), headersEnd(), HttpHeader::Isolate(), Http::Message::parse(), Rock::HeaderUpdater::parseReadBytes(), TestHttpReply::testSanityCheckFirstLine(), and TestHttpRequest::testSanityCheckStartLine().
◆ headersEnd() [2/3]
- Deprecated:
- caller needs to be fixed to handle obs-fold
Definition at line 41 of file mime_header.h.
References headersEnd().
◆ headersEnd() [3/3]
Definition at line 68 of file mime_header.cc.
References headersEnd(), SBuf::length(), and SBuf::rawContent().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products