Home > Configuration > NS > addnshttpprofile

addnshttpprofile

Use this method to adds an HTTP profile to the Citrix ADC.

Syntax



Parameters

name

Name for an HTTP profile. Must begin with a letter, number, or the underscore \(_\) character. Other characters allowed, after the first character, are the hyphen \(-\), period \(.\), hash \(\#\), space \( \), at \(@\), colon \(:\), and equal \(=\) characters. The name of a HTTP profile cannot be changed after it is created. CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks \(for example, "my http profile" or 'my http profile'\).
This is mandatory parameter.

dropinvalreqs

Drop invalid HTTP requests or responses.
Default value = DISABLED.

markhttp09inval

Mark HTTP/0.9 requests as invalid.
Default value = DISABLED.

markconnreqinval

Mark CONNECT requests as invalid.
Default value = DISABLED.

marktracereqinval

Mark TRACE requests as invalid.
Default value = DISABLED.

markrfc7230noncompliantinval

Mark RFC7230 non-compliant transaction as invalid
Default value = DISABLED.

markhttpheaderextrawserror

Mark Http header with extra white space as invalid
Default value = DISABLED.

cmponpush

Start data compression on receiving a TCP packet with PUSH flag set.
Default value = DISABLED.

conmultiplex

Reuse server connections for requests from more than one client connections.
Default value = ENABLED.

maxreusepool

Maximum limit on the number of connections, from the Citrix ADC to a particular server that are kept in the reuse pool. This setting is helpful for optimal memory utilization and for reducing the idle connections to the server just after the peak time. Zero implies no limit on reuse pool size. If non-zero value is given, it has to be greater than or equal to the number of running Packet Engines.
Default value = 0.
Minimum value = 0.
Maximum value = 360000.

dropextracrlf

Drop any extra 'CR' and 'LF' characters present after the header.
Default value = ENABLED.

incomphdrdelay

Maximum time to wait, in milliseconds, between incomplete header packets. If the header packets take longer to arrive at Citrix ADC, the connection is silently dropped.
Default value = 7000.
Minimum value = 1.
Maximum value = 360000.

websocket

HTTP connection to be upgraded to a web socket connection. Once upgraded, Citrix ADC does not process Layer 7 traffic on this connection.
Default value = DISABLED.

rtsptunnel

Allow RTSP tunnel in HTTP. Once application/x-rtsp-tunnelled is seen in Accept or Content-Type header, Citrix ADC does not process Layer 7 traffic on this connection.
Default value = DISABLED.

reqtimeout

Time, in seconds, within which the HTTP request must complete. If the request does not complete within this time, the specified request timeout action is executed. Zero disables the timeout.
Default value = 0.
Minimum value = 0.
Maximum value = 86400.

adpttimeout

Adapts the configured request timeout based on flow conditions. The timeout is increased or decreased internally and applied on the flow.
Default value = DISABLED.

reqtimeoutaction

Action to take when the HTTP request does not complete within the specified request timeout duration. You can configure the following actions: * RESET - Send RST (reset) to client when timeout occurs. * DROP - Drop silently when timeout occurs. * Custom responder action - Name of the responder action to trigger when timeout occurs, used to send custom message.

dropextradata

Drop any extra data when server sends more data than the specified content-length.
Default value = DISABLED.

weblog

Enable or disable web logging.
Default value = ENABLED.

clientiphdrexpr

Name of the header that contains the real client IP address.

maxreq

Maximum number of requests allowed on a single connection. Zero implies no limit on the number of requests.
Default value = 0.
Maximum value = 65534.

persistentetag

Generate the persistent Citrix ADC specific ETag for the HTTP response with ETag header.
Default value = DISABLED.

http2

Choose whether to enable support for HTTP/2.
Default value = DISABLED.

http2direct

Choose whether to enable support for Direct HTTP/2.
Default value = DISABLED.

http2strictcipher

Choose whether to enable strict HTTP/2 cipher selection
Default value = ENABLED.

http2altsvcframe

Choose whether to enable support for sending HTTP/2 ALTSVC frames. When enabled, the ADC sends HTTP/2 ALTSVC frames to HTTP/2 clients, instead of the Alt-Svc response header field. Not applicable to servers.
Default value = DISABLED.

altsvc

Choose whether to enable support for Alternative Services.
Default value = DISABLED.

altsvcvalue

Configure a custom Alternative Services header value that should be inserted in the response to advertise a HTTP/SSL/HTTP_QUIC vserver.

reusepooltimeout

Idle timeout (in seconds) for server connections in re-use pool. Connections in the re-use pool are flushed, if they remain idle for the configured timeout.
Default value = 0.
Minimum value = 0.
Maximum value = 31536000.

maxheaderlen

Number of bytes to be queued to look for complete header before returning error. If complete header is not obtained after queuing these many bytes, request will be marked as invalid and no L7 processing will be done for that TCP connection.
Default value = 24820.
Minimum value = 2048.
Maximum value = 122880.

maxheaderfieldlen

Number of bytes allowed for header field for HTTP header. If number of bytes exceeds beyond configured value, then request will be marked invalid
Default value = 24820.
Minimum value = 2048.
Maximum value = 122880.

minreusepool

Minimum limit on the number of connections, from the Citrix ADC to a particular server that are kept in the reuse pool. This setting is helpful for optimal memory utilization and for reducing the idle connections to the server just after the peak time. Zero implies no limit on reuse pool size.
Default value = 0.
Minimum value = 0.
Maximum value = 360000.

http2maxheaderlistsize

Maximum size of header list that the Citrix ADC is prepared to accept, in bytes. NOTE: The actual plain text header size that the Citrix ADC accepts is limited by maxHeaderLen. Please change maxHeaderLen parameter as well when modifying http2MaxHeaderListSize.
Default value = 24576.
Minimum value = 8192.
Maximum value = 131071.

http2maxframesize

Maximum size of the frame payload that the Citrix ADC is willing to receive, in bytes.
Default value = 16384.
Minimum value = 16384.
Maximum value = 32768.

http2maxconcurrentstreams

Maximum number of concurrent streams that is allowed per connection.
Default value = 100.
Minimum value = 0.
Maximum value = 1000.

http2initialconnwindowsize

Initial window size for connection level flow control, in bytes.
Default value = 65535.
Minimum value = 65535.
Maximum value = 67108864.

http2initialwindowsize

Initial window size for stream level flow control, in bytes.
Default value = 65535.
Minimum value = 8192.
Maximum value = 20971520.

http2headertablesize

Maximum size of the header compression table used to decode header blocks, in bytes.
Default value = 4096.
Minimum value = 0.
Maximum value = 131072.

http2minseverconn

Minimum number of HTTP2 connections established to backend server, on receiving HTTP requests from client before multiplexing the streams into the available HTTP/2 connections.
Default value = 20.
Minimum value = 1.
Maximum value = 360000.

http2maxpingframespermin

Maximum number of PING frames allowed in HTTP2 connection per minute
Default value = HTTP2_DEFAULT_MAX_PING_FRAMES_MIN.
Minimum value = 1.
Maximum value = 360000.

http2maxsettingsframespermin

Maximum number of SETTINGS frames allowed in HTTP2 connection per minute
Default value = HTTP2_DEFAULT_MAX_SETTINGS_FRAMES_MIN.
Minimum value = 1.
Maximum value = 360000.

http2maxresetframespermin

Maximum number of outgoing RST_STREAM frames allowed in HTTP/2 connection per minute
Default value = HTTP2_DEFAULT_MAX_RESET_FRAMES_MIN.
Minimum value = 1.
Maximum value = 360000.

http2maxemptyframespermin

Maximum number of empty frames allowed in HTTP2 connection per minute
Default value = HTTP2_DEFAULT_MAX_EMPTY_FRAMES_MIN.
Minimum value = 1.
Maximum value = 360000.

http2maxrxresetframespermin

Maximum number of incoming RST_STREAM frames allowed in HTTP/2 connection per minute
Default value = 0.
Minimum value = 0.
Maximum value = 360000.

grpcholdlimit

Maximum size in bytes allowed to buffer gRPC packets till trailer is received
Default value = GRPC_DEFAULT_HOLD_LIMIT.
Minimum value = 0.
Maximum value = 33554432.

grpcholdtimeout

Maximum time in milliseconds allowed to buffer gRPC packets till trailer is received. The value should be in multiples of 100
Default value = GRPC_DEFAULT_HOLD_TIMEOUT.
Minimum value = 0.
Maximum value = 180000.

grpclengthdelimitation

Set to DISABLED for gRPC without a length delimitation.
Default value = ENABLED.

apdexcltresptimethreshold

This option sets the satisfactory threshold (T) for client response time in milliseconds to be used for APDEX calculations. This means a transaction responding in less than this threshold is considered satisfactory. Transaction responding between T and 4*T is considered tolerable. Any transaction responding in more than 4*T time is considered frustrating. Citrix ADC maintains stats for such tolerable and frustrating transcations. And client response time related apdex counters are only updated on a vserver which receives clients traffic.
Default value = SI_APDEX_DEFAULT_CLT_THRESHOLD.
Minimum value = 1.
Maximum value = 3600000.

http3

Choose whether to enable support for HTTP/3.
Default value = DISABLED.

http3maxheaderfieldsectionsize

Maximum size of the HTTP/3 header field section, in bytes.
Default value = 24576.
Minimum value = 8192.
Maximum value = 131072.

http3maxheadertablesize

Maximum size of the HTTP/3 QPACK dynamic header table, in bytes.
Default value = 4096.
Minimum value = 0.
Maximum value = 131072.

http3maxheaderblockedstreams

Maximum number of HTTP/3 streams that can be blocked while HTTP/3 headers are being decoded.
Default value = 100.
Minimum value = 1.
Maximum value = 500.

http3webtransport

Choose whether to enable support for WebTransport over HTTP/3.
Default value = DISABLED.

http3minseverconn

Minimum number of HTTP/3 connections established to backend server, on receiving HTTP requests from client before multiplexing the streams into the available HTTP/3 connections.
Default value = 20.
Minimum value = 1.
Maximum value = 360000.

httppipelinebuffsize

Application pipeline request buffering size, in bytes.
Default value = 131072.
Minimum value = 131072.
Maximum value = 20971520.

allowonlywordcharactersandhyphen

When enabled allows only the word characters [A-Za-z0-9_] and hyphen [-] in the request/response header names and the connection will be reset for the other characters. When disabled allows any visible (printing) characters (%21-%7E) except delimiters (double quotes and "(),/:;<=>?@[]{}").
Default value = DISABLED.

hostheadervalidation

Validates the length of the Host header and its syntax. Also includes validation of the port number if specified
Default value = DISABLED.

maxduplicateheaderfields

Maximum number of allowed occurrences of header fields that share the same field name. This threshold is enforced only for well-known header field names recognized by NetScaler. If the value is set to 0, then it will be similar to previous behavior, Where we store only 15 duplicate headers and rest are parsed and send to the server.
Default value = HTTP_DEFAULT_DUP_HEADER_PARSED.
Minimum value = 0.
Maximum value = HTTP_MAX_DUP_HEADER_PARSED.

passprotocolupgrade

Pass protocol upgrade request to the server.
Default value = ENABLED.

http2extendedconnect

Choose whether to enable HTTP/2 Extended CONNECT mechanism.
Default value = ENABLED.

Return Value

Returns simpleResult

See Also