Skip to content

Commit 321badb

Browse files
committed
edited to update incorrect information and add more
1 parent c14b6ec commit 321badb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/application-gateway/application-gateway-faq.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,17 @@ sections:
6767
answer: |
6868
`Keep-Alive` timeout governs how long the application gateway waits for a client to send another HTTP request on a persistent connection before reusing it or closing it. TCP idle timeout governs how long a TCP connection is kept open if there's no activity.
6969
70-
The `Keep-Alive` timeout in the Application Gateway v1 SKU is 120 seconds and in the v2 SKU it's 75 seconds. For private IP addresses, the value is nonconfigurable with a TCP idle timeout of 5 minutes. The TCP idle timeout is a 4-minute default on the frontend virtual IP (VIP) of both v1 and v2 SKU of Application Gateway. You can configure the TCP idle timeout value on v1 and v2 Application Gateway instances to be anywhere between 4 minutes and 30 minutes. For both v1 and v2 Application Gateway instances, you need to go to the public IP of the application gateway and change the TCP idle timeout under the **Configuration** pane of the public IP in the portal. You can set the TCP idle timeout value of the public IP through PowerShell by running the following commands:
70+
The `Keep-Alive` timeout in the Application Gateway v1 and v2 SKU is 120 seconds. For private IP addresses, the value is nonconfigurable with a TCP idle timeout of 5 minutes. The TCP idle timeout is a 4-minute default on the frontend virtual IP (VIP) of both v1 and v2 SKU of Application Gateway. You can configure the TCP idle timeout value on v1 and v2 Application Gateway instances to be anywhere between 4 minutes and 30 minutes. For both v1 and v2 Application Gateway instances, you need to go to the public IP of the application gateway and change the TCP idle timeout under the **Configuration** pane of the public IP in the portal. You can set the TCP idle timeout value of the public IP through PowerShell by running the following commands:
7171
7272
```azurepowershell-interactive
7373
$publicIP = Get-AzPublicIpAddress -Name MyPublicIP -ResourceGroupName MyResourceGroup
7474
$publicIP.IdleTimeoutInMinutes = "15"
7575
Set-AzPublicIpAddress -PublicIpAddress $publicIP
7676
```
7777
78-
For HTTP/2 connections to the frontend IP address on Application Gateway v2 SKU, the idle timeout is set to 180 seconds and is nonconfigurable.
78+
For HTTP/2 connections to the frontend IP address on Application Gateway v2 SKU, the idle timeout is set to 120 seconds and is nonconfigurable.
7979
80-
When Keep-Alive timeout and TCP idle timeout are working together, the connection idle timeout in combination will be the value of the TCP idle timeout. This is because closing the TCP idle timeout will knock off the http connection. However, closing the http connection will not affect the TCP connection.
80+
To prevent conflict and unexpected behavior, make sure that the TCP idle timeout is set to be the same as or longer than the keep-alive timeout.
8181
8282
- question: Does Application Gateway reuse the TCP connection that's established with a backend server?
8383
answer: Yes. Application Gateway reuses the existing TCP connections with a backend server.

0 commit comments

Comments
 (0)