Skip to content

Commit 1576b3e

Browse files
Merge branch '4.4' into 5.4
* 4.4: [HttpClient] Add missing HttpOptions::setMaxDuration() [HttpFoundation] [Session] Overwrite invalid session id
2 parents 0dabec4 + 0366fe9 commit 1576b3e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

HttpOptions.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,16 @@ public function setTimeout(float $timeout)
197197
return $this;
198198
}
199199

200+
/**
201+
* @return $this
202+
*/
203+
public function setMaxDuration(float $maxDuration)
204+
{
205+
$this->options['max_duration'] = $maxDuration;
206+
207+
return $this;
208+
}
209+
200210
/**
201211
* @return $this
202212
*/

0 commit comments

Comments
 (0)