mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
SSL SCT/OCSP: small fixes by robin; mostly update comments.
SetMime now only works on the first call (as it was documented) and unused code was used from one of the x.509 functions.
This commit is contained in:
parent
db15773c09
commit
d5678418da
7 changed files with 23 additions and 11 deletions
|
@ -176,8 +176,10 @@ public:
|
|||
* Sets the MIME type for a file to a specific value.
|
||||
*
|
||||
* Setting the MIME type has to be done before the MIME type is
|
||||
* inferred from the content. After a MIME type has been set once,
|
||||
* it cannot be changed anymore.
|
||||
* inferred from the content, and before any data is passed to the
|
||||
* analyzer (the beginning of file buffer has to be empty). After
|
||||
* data has been sent or a MIME type has been set once, it cannot be
|
||||
* changed.
|
||||
*
|
||||
* This function should only be called when it does not make sense
|
||||
* to perform automated MIME type detections. This is e.g. the case
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue