File tree Expand file tree Collapse file tree 3 files changed +18
-7
lines changed
Expand file tree Collapse file tree 3 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ Enhancements
3838Libraries
3939=========
4040
41+ - **CURLRequest: ** Added ``dns_cache_timeout `` option to change default DNS cache timeout.
42+ - **Email: ** Added support for choosing the SMTP authorization method. You can change it via ``Config\Email::$SMTPAuthMethod `` option.
43+ - **Image: ** The ``ImageMagickHandler `` has been rewritten to rely solely on the PHP ``imagick `` extension.
44+ - **Image: ** Added ``ImageMagickHandler::clearMetadata() `` method to remove image metadata for privacy protection.
4145- **Time: ** added methods ``Time::addCalendarMonths() `` and ``Time::subCalendarMonths() ``
4246
4347Commands
@@ -61,13 +65,6 @@ Others
6165Model
6266=====
6367
64- Libraries
65- =========
66-
67- **Email: ** Added support for choosing the SMTP authorization method. You can change it via ``Config\Email::$SMTPAuthMethod `` option.
68- **Image: ** The ``ImageMagickHandler `` has been rewritten to rely solely on the PHP ``imagick `` extension.
69- **Image: ** Added ``ImageMagickHandler::clearMetadata() `` method to remove image metadata for privacy protection.
70-
7168Helpers and Functions
7269=====================
7370
Original file line number Diff line number Diff line change @@ -251,6 +251,16 @@ Allows you to pause a number of milliseconds before sending the request:
251251
252252.. literalinclude :: curlrequest/023.php
253253
254+ dns_cache_timeout
255+ =================
256+
257+ .. versionadded :: 4.7.0
258+
259+ By default, CodeIgniter does not change the PHP DNS Cache Timeout value. If you need to
260+ modify this value, you can do so by passing an amount of time in seconds with the ``dns_cache_timeout `` option.
261+
262+ .. literalinclude :: curlrequest/037.php
263+
254264form_params
255265===========
256266
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ // Modify default DNS Cache Timeout
4+ $ client ->request ('GET ' , '/ ' , ['dns_cache_timeout ' => 360 ]); // seconds
You can’t perform that action at this time.
0 commit comments