-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
74 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
return [ | ||
'cache' => [ | ||
/** | ||
* Interval in seconds, as how long a result should be cached. | ||
*/ | ||
'interval' => 10080, | ||
/** | ||
* Cache prefix, the user agent string will be hashed and appended at the end. | ||
*/ | ||
'prefix' => 'bd4_' | ||
], | ||
'security' => [ | ||
/** | ||
* Byte length where the header is cut off, if some attacker sends a long header | ||
* then the library will make a cut this byte point. | ||
*/ | ||
'max-header-length' => 2048, | ||
] | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters