03      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~#SafeSafe  None<NoneSafeBlackRedRed black tree as multimap.(One ore more list to implement multimap.O(log N)O(log N)O(1)O(1)O(1)O(log N) O(N log N)O(N)2O(N) "Constructing Red-Black Trees" by Ralf HinzeO(N)O(N)*"Safe  SafefStarting a thread pool manager. Its action is initially set to 'return ()' and should be set by @. This allows that the action can include the manager itself.  Safe              NoneFile information.Modification time#Modification time in the GMT format7Getting the file information corresponding to the file.Creating a file information cache and executing the action in the second argument. The first argument is a cache duration in second.  Safe+ A handle used by  %An action to be performed on timeout. A timeout manager\Creating timeout manager which works every N micro seconds where N is the first argument..Stopping timeout manager with onTimeout fired.=Killing timeout manager immediately without firing onTimeout.Registering a timeout action.4Registering a timeout action of killing this thread. Setting the state to active.  % turns active to inactive repeatedly."Setting the state to canceled.  0 eventually removes this without timeout action. Setting the state to paused.   does not change the value.;Setting the paused state to active. This is an alias to ./Call the inner function with a timeout manager.   timeout in microseconds !      ! None/The type of the cache of the Date header value."The type of the Date header value. Creating  and executing the action.Getting current  based on ."#"#SafeMutable Fd cacher.'An action to activate a Fd cache entry. Creating f and executing the action in the second argument. The first argument is a cache duration in second.Getting $ and  from the mutable Fd cacher.%&'()*+,-./012345678%&'()*+,-./012345678None+ 3What kind of transport is used for this connection?!Plain channel: TCP"Encrypted channel: TLS or SSL%@The result of Application Layer Protocol Negociation in RFC 7301'Type for input streaming.(Internal information./|Data type to manipulate IO actions for connections. This is used to abstract IO actions for plain HTTP and HTTP over TLS.1 This is not used at this moment.2The sending function.3+The sending function for files in HTTP/1.1.4 The connection closing function.5;The connection receiving function. This returns "" for EOF.6{The connection receiving function. This tries to fill the buffer. This returns when the buffer is filled or reaches EOF.7The write buffer.8The size of the write buffer.9Type for the action to receive input data with a buffer. The result boolean indicates whether or not the buffer is fully filled.:)Type for the action to receive input data;Type for buffer size<Type for buffer9Type for read buffer pool=1fileid, offset, length, hook action, HTTP headers Since: 3.1.0>Data type to abstract file identifiers. On Unix, a file descriptor would be specified to make use of the file descriptor cache. Since: 3.1.0BError types for bad Request.J$The type for header value used with  HeaderName.KTCP port number.:+Read from a Source, ignoring any leftovers.6 !"#$%&';()*+,-./0123456789:;<9=>?@ABCDEFGHIJK<=:>?@AB4 !"#$%&';()*+,-./0123456789:;<9=>?@ABCDEFGHIJK<=:>?@ !"#$%&';()*+,-./ 0123456789:;<9=>?@ABCDEFGHIJK<=:>?@ABNoneLThe default size of the write buffer: 16384 (2^14 = 1024 * 16). This is the maximum size of TLS record. This is also the maximum size of HTTP/2 frame payload (excluding frame header).M"Allocating a buffer with malloc().NReleasing a buffer with free().OjCopying the bytestring to the buffer. This function returns the point where the next copy should start.LMNCDEFGHIJKLOM LMNEFKLOMLMNCDEFGHIJKLOMNone NOPQRSTUVWXYN NOPQRSTUVWXYNone4P Array for a set of HTTP headers.Q The size for P for HTTP Request. From 0 to this corresponds to "Content-Length", "Transfer-Encoding", "Expect", "Connection", "Range", "Host", "If-Modified-Since", "If-Unmodified-Since" and "If-Range".Z The size for P for HTTP Response.[\]^_`abcdefghPiQjklZmn[\]^_`abcdefghPiQjklZmn [\]^_ `abcdefghPiQjklZmnNoneo)Parse the value of a Range header into a p.q contentRangeHeader beg end total constructs a Content-Range r for the range specified.s2addContentHeadersForFilePart [] (FilePart 2 10 16)U[("Content-Range","bytes 2-11/16"),("Content-Length","10"),("Accept-Ranges","bytes")]2addContentHeadersForFilePart [] (FilePart 0 16 16)3[("Content-Length","16"),("Accept-Ranges","bytes")]tuvwxyz{|}~oqstuvwstuvwxyz{|}~oqsNone RFunction to send a file based on sendfile() for Linux/Mac/FreeBSD. This makes use of the file descriptor cache. For other OSes, this is identical to S. Since: 3.1.0SFunction to send a file based on pread()/send() for Unix. This makes use of the file descriptor cache. For Windows, this is emulated by Handle. Since: 3.1.0RSRSRSNone GIJNT$Specify usage of the PROXY protocol.USee setProxyProtocolNone.VSee setProxyProtocolRequired.WSee setProxyProtocolOptional.XVarious Warp server settings. This is purposely kept as an abstract data type so that new settings can be added without breaking backwards compatibility. In order to create a X value, use nK and the various 'set' functions to modify individual fields. For example: setTimeout 20 defaultSettingsZ&Port to listen on. Default value: 3000[Default value: HostIPv4\xWhat to do with exceptions thrown by either the application or server. Default: ignore server-generated exceptions (see B9) and print application-generated applications to stderr.]A function to create  when an exception occurs.0Default: 500, text/plain, "Something went wrong" Since 2.0.3^+What to do when a connection is open. When s is returned, the connection is closed immediately. Otherwise, the connection is going on. Default: always returns ._;What to do when a connection is close. Default: do nothing.`+Timeout value in seconds. Default value: 30aHUse an existing timeout manager instead of spawning a new one. If used, ` is ignored. Default is brCache duration time of file descriptors in seconds. 0 means that the cache mechanism is not used. Default value: 0crCache duration time of file information in seconds. 0 means that the cache mechanism is not used. Default value: 0dCode to run after the listening socket is ready but before entering the main event loop. Useful for signaling to tests that they can start running, or to drop permissions after binding to a restricted port.Default: do nothing. Since 1.3.6e1Code to fork a new thread to accept a connection.kThis may be useful if you need OS bound threads, or if you wish to develop an alternative threading model. Default: void . forkIOWithUnmask Since 3.0.4f&Perform no parsing on the rawPathInfo.(This is useful for writing HTTP proxies.Default: False Since 2.0.3h4Default server name if application does not set one. Since 3.0.2iSee setMaximumBodyFlush. Since 3.0.3j$Specify usage of the PROXY protocol. Since 3.0.5.kGSize of bytes read to prevent Slowloris protection. Default value: 2048 Since 3.1.2.l4Whether to enable HTTP2 ALPN/upgrades. Default: True Since 3.1.7.m#A log function. Default: no action. Since 3.X.X.n]The default settings for the Warp server. See the individual settings for the default value.oApply the logic provided by p to determine if an exception should be shown or not. The goal is to hide exceptions which occur under the normal course of the web server running. Since 2.1.3p.Printing an exception to standard error if o returns . Since: 3.1.0qESending 400 for bad requests. Sending 500 for internal server errors. Since: 3.1.0rTException handler for the debugging purpose. 500, text/plain, a showed exception.Since: 2.0.3.2TUVWXYZ[\]^_`abcdefghijklmnopqrTUVWXYZ[\]^_`abcdefghijklmnopqrTUVWXYZ[\]^_`abcdefghijklmnopqrNone sThis function returns a receiving function based on two receiving functions. The returned function efficiently manages received data which is initialized by the first argument. The returned function may allocate a byte string with malloc().sssNone Contains a Source. and a byte count that is still to be read in. Given an IsolatedBSSource provide a Source} that only allows up to the specified number of bytes to be passed downstream. All leftovers should be retained within the Source5. If there are not enough bytes available, throws a ConnectionClosedByPeer exception.NoneThe concurrency IORef in which this stream has been counted. The client and server each have separate concurrency values to respect, so pushed streams need to decrement a different count when they're closed. This should be either concurrency ctx or pushConcurrency ctx."The context for HTTP/2 connection.aNumber of active streams initiated by the client; for enforcing our own max concurrency setting.gNumber of active streams initiated by the server; for respecting the client's max concurrency setting.RFC 7540 says "Other frames (from any stream) MUST NOT occur between the HEADERS frame and any CONTINUATION frames that might follow". This field is used to implement this requirement..Last client-initiated stream ID we've handled.*Next available server-initiated stream ID.`Auxiliary information needed to communicate with a running stream: a queue of stream elements () and a  connected to its waiter thread.@A message from the sender to a stream's dedicated waiter thread.4Nothing interesting has happened. Go back to sleep.The stream has ended.]The stream's queue has been drained; wait for more to be available and re-enqueue the given .lAn element on the queue between a running stream and the sender; the order should consist of any number of , , and , followed by a single ..The stream is over; its trailers are provided.-Any buffered data should be sent immediately.%Append a chunk of data to the stream.2Append a chunk of a file's contents to the stream.Terminate the connection.1Send a goaway frame and terminate the connection./Update settings and send an ack settings frame.!Send an entire pre-encoded frame.JSend the headers and as much of the response as is immediately available.gSend a PUSH_PROMISE frame, then act like OResponse; signal the MVar whether the promise has been sent.Send a chunk of the response.AThe result of writing data from a stream's queue into the buffer.6The stream has ended, and the trailers should be sent.qThe stream has more data immediately available, and we should re-enqueue it when the stream window becomes open.The stream queue has been drained and we've handed it off to its dedicated waiter thread, which will re-enqueue it when more data is available.[X$None+GIN )The type to store enough information for settingsOnException.NIt would nice if responders could return values to workers. Unfortunately, i is already defined in WAI 2.0. It is not wise to change this type. So, a reference is shared by a W and its worker. The reference refers a value of this type as a return value. If O, the worker continue to serve requests. Otherwise, the worker get finished.An y takes a function of status, headers, trailers, and body; this type implements that by currying some internal arguments.The token type of the RespondFunc is set to be (). This is a bit anti-climactic, but the real benefit of the token type is that the application is forced to call the responder, and making it a boring type doesn't break that property.This is the argument to a .DThis function is passed to workers. They also pass responses from Ls to this function. This function enqueues commands for the HTTP/2 sender.JSet up a waiter thread and run the stream body with functions to enqueue s on the stream's queue.eHandle abnormal termination of a stream: mark it as closed, send a reset frame, and call the user's settingsOnException handler if applicable.Push the given 7 to the client if the settings allow it (specifically  and  ). Returns $ if the stream was actually pushed.&This is the push function given to an .#Set up a pushed stream and run the | in its own thread. Waits for the sender thread to handle the push request. This can fail to push the stream and return Q if the sender dequeued the push request after the associated stream was closed.A dedicated waiter thread to re-enqueue the stream in the priority tree whenever output becomes available. When the sender drains the queue and moves on to another stream, it drops a message in the d, and this thread wakes up, waits for more output to become available, and re-enqueues the stream.           NoneNoneFINtSending a HTTP response to / according to ./Applications/middlewares MUST provide a proper U. so that inconsistency does not happen. No header is deleted by this function.AEspecially, Applications/middlewares MUST provide a proper Content-Type. They MUST NOT provide Content-Length, Content-Range, and Transfer-Encoding because they are inserted, when necessary, regardless they already exist. This function does not insert Content-Encoding. It's middleware's responsibility.LThe Date and Server header is added if not exist in HTTP response header.%There are three basic APIs to create :  ::  ->  ->  -> #HTTP response body is created from 6. Transfer-Encoding: chunked is used in HTTP/1.1. ::  ->  ->  -> #HTTP response body is created from 6. Transfer-Encoding: chunked is used in HTTP/1.1. :: (  -> ( ->  ()) ->  ()) ->  -> 8No header is added and no Transfer-Encoding: is applied.  ::  ->  -> ! -> " # -> HTTP response body is sent (by sendfile(), if possible) for GET method. HTTP response body is not sent by HEAD method. Content-Length and Content-Range are automatically added into the HTTP response header if necessary. If Content-Length and Content-Range exist in the HTTP response header, they would cause inconsistency. "Accept-Ranges: bytes" is also inserted.kApplications are categorized into simple and sophisticated. Sophisticated applications should specify $ to " #I. They should treat the conditional request by themselves. A proper Status (200 or 206) must be provided.#Simple applications should specify  to " #. The size of the specified file is obtained by disk access or from the file infor cache. If-Modified-Since, If-Unmodified-Since, If-Range and Range are processed. Since a proper status is chosen, Status, is ignored. Last-Modified is inserted.%Use 22 to send this data while respecting timeout rules.uThe version of Warp.&;replaceHeader "Content-Type" "new" [("content-type","old")][("Content-Type","new")]'()*+,t HTTP request.Indexed header of HTTP request.$source from client, for raw response8HTTP response including status code and response header..Returing True if the connection is persistent.-./012%3456789u:&;t/79u:'()*+,t-./012%3456789u:&;None<concatCookie [("foo","bar")][("foo","bar")]OconcatCookie [("cookie","a=b"),("foo","bar"),("cookie","c=d"),("cookie","e=f")]*[("foo","bar"),("cookie","a=b; c=d; e=f")]=>?@<=>?@<=>?@<NoneA!parseRequestLine "GET / HTTP/1.1"("GET","/","",HTTP/1.1)8parseRequestLine "POST /cgi/search.cgi?key=foo HTTP/1.0".("POST","/cgi/search.cgi","?key=foo",HTTP/1.0)parseRequestLine "GET ":*** Exception: Warp: Invalid first line of request: "GET "+parseRequestLine "GET /NotHTTP UNKNOWN/1.1">*** Exception: Warp: Request line specified a non-HTTP request!parseRequestLine "PRI * HTTP/2.0"("PRI","*","",HTTP/2.0)BparseHeader "Content-Length:47"("Content-Length","47")"parseHeader "Accept-Ranges: bytes"("Accept-Ranges","bytes")%parseHeader "Host: example.com:8080"("Host","example.com:8080")parseHeader "NoSemiColon"("NoSemiColon","")CABDCCABNonevReceiving a HTTP request from /% and parsing its header to create E.FGHIJvPeer's address.Where HTTP request comes from.E passed to K3, how many bytes remain to be consumed, if known P\ of HTTP request for internal use, Body producing action used for flushing the request bodyLMNcontent lengthtransfer-encodingOPQ remainingRSTUvLTUFGHIJvLMNOPQRSTUNoneVContent-LengthWXYZ[\]^_`abVcdefgh ]^_`abVcdfgWXYZ[\]^_`abVcdefgh NoneGijklmiijklm!NonenThe platform-specific type of an open file to stream from. On Windows we don't have pread, so this is just a Handle; on Unix platforms with pread, this is a file descriptor supplied by the fd cache.oaRun the given action if the stream is not closed; handle any exceptions by resetting the stream.p5Open the file and start reading into the send buffer.qRead the given (OS-specific) file representation into the buffer. On non-Windows systems this uses pread; on Windows this ignores the position because we use the Handle's internal read position instead (because it's not potentially shared with other readers).rSRead as much of the file as is currently available into the buffer, then return a sq to indicate whether this file chunk has more data to send. If this read hit the end of the file range, return t; otherwise return u^ so this stream will continue reading from the file the next time it's pulled from the queue.stvwunoxyz{pqr|}~y stvwunoxyz{pqr|}~"None#NoneFGNx Creating /( for plain HTTP based on a given socket.yRun an K on the given port. This calls  with n.z Serve an  and an K together on the given port.{The generalized form of y.|Run an K on the port present in the PORT! environment variable. Uses the K/ given when the variable is unset. This calls  with n. Since 3.0.9}The HTTP/2-aware form of |.~The generalized form of |.Run an K with the given X5. This opens a listen socket on the port defined in X and calls .The HTTP/2-aware form of .The generalized form of .AThis installs a shutdown handler for the given socket and calls  with the default connection setup action which handles plain (non-cipher) HTTP. When the listen socket in the second argument is closed, all live connections are gracefully shut down.tThe supplied socket can be a Unix named socket, which can be used when reverse HTTP proxying into your application.Note that the Z will still be passed to K s via the  serverPort record.The HTTP/2-aware form of .The generalized form of .The connection setup action would be expensive. A good example is initialization of TLS. So, this converts the connection setup action to the connection maker which will be executed after forking a new worker thread. Then this calls  with the connection maker. This allows the expensive computations to be performed in a separate worker thread instead of the main server loop. Since 1.3.5The generalized form of .6This modifies the connection maker so that it returns ! for   (i.e. plain HTTP) then calls .The generalized form of ."The core run function which takes X, a connection maker and KW. The connection maker can return a connection of either plain HTTP or HTTP over TLS. Since 2.1.4The generalized form of .wxyz{|}~get next chunkmaximum to flush3True == flushed the entire body, False == we didn'twxyz{|}~wxyz{|}~Nonev  !"#$%&'()*+,-./0123456789:;<=>?@AJLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmstuvwx{~vXYZ[\]^_`abcdefghijklmTUVW{~ !"#$%&w/012345678x:9s<;LMNO>?@A=RSu()*+,-.JPQ  'vtNoneGIN&Port to listen on. Default value: 3000 Since 2.1.0-Interface to bind to. Default value: HostIPv4 Since 2.1.0QWhat to do with exceptions thrown by either the application or server. Default: p Since 2.1.0A function to create a  when an exception occurs. Default: q Since 2.1.0-What to do when a connection is opened. When u is returned, the connection is closed immediately. Otherwise, the connection is going on. Default: always returns . Since 2.1.0<What to do when a connection is closed. Default: do nothing. Since 2.1.0+Timeout value in seconds. Default value: 30 Since 2.1.0IUse an existing timeout manager instead of spawning a new one. If used, ` is ignored. Since 2.1.0aCache duration time of file descriptors in seconds. 0 means that the cache mechanism is not used.The FD cache is an optimization that is useful for servers dealing with static files. However, if files are being modified, it can cause incorrect results in some cases. Therefore, we disable it by default. If you know that your files will be static or you prefer performance to file consistency, it's recommended to turn this on; a reasonable value for those cases is 10. Enabling this cache results in drastic performance improvement for file transfers.#Default value: 0, was previously 10 Since 3.0.13aCache duration time of file information in seconds. 0 means that the cache mechanism is not used.The file information cache is an optimization that is useful for servers dealing with static files. However, if files are being modified, it can cause incorrect results in some cases. Therefore, we disable it by default. If you know that your files will be static or you prefer performance to file consistency, it's recommended to turn this on; a reasonable value for those cases is 10. Enabling this cache results in drastic performance improvement for file transfers.Default value: 0Code to run after the listening socket is ready but before entering the main event loop. Useful for signaling to tests that they can start running, or to drop permissions after binding to a restricted port.Default: do nothing. Since 2.1.0&Perform no parsing on the rawPathInfo.(This is useful for writing HTTP proxies.Default: False Since 2.1.0Get the listening port. Since 2.1.1Get the interface to bind to. Since 2.1.1%Get the action on opening connection.&Get the action on closeing connection.Get the exception handler.#A code to install shutdown handler.For instance, this code should set up a UNIX signal handler. The handler should call the first argument, which close the listen socket, at shutdown.#Default: does not install any code. Since 3.0.14Default server name if application does not set one. Since 3.0.2EThe maximum number of bytes to flush from an unconsumed request body.By default, Warp does not flush the request body so that, if a large body is present, the connection is simply terminated instead of wasting time and bandwidth on transmitting it. However, some clients do not deal with that situation well. You can either change this setting to Nothingx to flush the entire body in all cases, or in your application ensure that you always consume the entire request body.Default: 8192 bytes. Since 3.0.31Code to fork a new thread to accept a connection.kThis may be useful if you need OS bound threads, or if you wish to develop an alternative threading model. Default: void . forkIOWithUnmask Since 3.0.4Do not use the PROXY protocol. Since 3.0.5Require PROXY header.SThis is for cases where a "dumb" TCP/SSL proxy is being used, which cannot add an X-Forwarded-ForC HTTP header field but has enabled support for the PROXY protocol.See  :http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt and  shttp://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#proxy-protocol.iOnly the human-readable header format (version 1) is supported. The binary header format (version 2) is not supported. Since 3.0.5YUse the PROXY header if it exists, but also accept connections without the header. See .WARNING: This is contrary to the PROXY protocol specification and using it can indicate a security problem with your architecture if the web server is directly accessable to the public, since it would allow easy IP address spoofing. However, it can be useful in some cases, such as if a load balancer health check uses regular HTTP without the PROXY header, but proxied connections do include the PROXY header. Since 3.0.5GSize in bytes read to prevent Slowloris protection. Default value: 2048 Since 3.1.2Disable HTTP2. Since 3.1.7Setting a log function. Since 3.X.X'Explicitly pause the slowloris timeout.`This is useful for cases where you partially consume a request body. For more information, see *https://github.com/yesodweb/wai/issues/351 Since 3.0.10,Getting file information of the target file.PThis function first uses a stat(2) or similar system call to obtain information of the target file, then registers it into the internal cache. From the next time, the information is obtained from the cache. This reduces the overhead to call the system call. The internal cache is refreshed every duration specified by .This function throws an  exception if the information is not available. For instance, the target file does not exist. If this function is used an a Request generated by a WAI backend besides Warp, it also throws an  exception. Since 3.1.10  !"#$%&'()*+,-./012345678;<=>?@ABCDEFGHIJKLMNPQRSXnopqrtuvxyz|}y|z}XnpoqrKBCDEFGHI !"#$%&/012345678x<;LMN>?@A=RSu()*+,-.JPQ'vt  $%& ' ' ( ) * + , - . . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ?@ABCDEFGHIJKLLMNOPQRRSTUVWXYZ[\]^_``abcdefghijklmnopqrstuvwxyyz{|}~######################                        1 1      ! " #  $ % & & ' ( ) * + , - . / 0 1 2 2 3 4 5 6 7 8 9 / : ; < 2 = >?@ABBCCD67EFGHIJK2LM4NOKPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  2L       !"#$%&'()*+,D-./*01*23-45*6 78 9: ;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_*`abcdefghijkllmnopqrrstuvwxyz{ | } ~  !!!!!!!!!!!!!!!!!""########warp_KE35PEUSVVVGw36d8I0iHWNetwork.Wai.Handler.Warp!Network.Wai.Handler.Warp.Internal Network.Wai.Handler.Warp.Windows Paths_warp Network.Wai.Handler.Warp.ReadInt*Network.Wai.Handler.Warp.HTTP2.EncodeFrame!Network.Wai.Handler.Warp.MultiMapNetwork.Wai.Handler.Warp.IORef&Network.Wai.Handler.Warp.HTTP2.Manager Network.Wai.Handler.Warp.Counter&Network.Wai.Handler.Warp.FileInfoCache Network.Wai.Handler.Warp.TimeoutNetwork.Wai.Handler.Warp.Date Network.Wai.Handler.Warp.FdCacheNetwork.Wai.Handler.Warp.TypesNetwork.Wai.Handler.Warp.Buffer'Network.Wai.Handler.Warp.ResponseHeaderNetwork.Wai.Handler.Warp.HeaderNetwork.Wai.Handler.Warp.File!Network.Wai.Handler.Warp.SendFile!Network.Wai.Handler.Warp.SettingsNetwork.Wai.Handler.Warp.Recv Network.Wai.Handler.Warp.Conduit$Network.Wai.Handler.Warp.HTTP2.Types%Network.Wai.Handler.Warp.HTTP2.WorkerNetwork.Wai.Handler.Warp.IO!Network.Wai.Handler.Warp.Response$Network.Wai.Handler.Warp.HTTP2.HPACK&Network.Wai.Handler.Warp.RequestHeader Network.Wai.Handler.Warp.Request&Network.Wai.Handler.Warp.HTTP2.Request'Network.Wai.Handler.Warp.HTTP2.Receiver%Network.Wai.Handler.Warp.HTTP2.SenderNetwork.Wai.Handler.Warp.HTTP2Network.Wai.Handler.Warp.Runstrea_H8cJuEMXKFA9yyfgNouqsaData.Streaming.Network.InternalHostPreferenceFileInfo fileInfoName fileInfoSize fileInfoTime fileInfoDategetInfowithFileInfoCache TimeoutThreadHandle TimeoutActionManager initialize stopManager killManagerregisterregisterKillThreadticklecancelpauseresume withManager DateCacheGMTDate withDateCachegetDateMutableFdCacheRefresh withFdCachegetFd TransportTCPTLStlsMajorVersiontlsMinorVersiontlsNegotiatedProtocol tlsChiperIDSource InternalInfo threadHandletimeoutManagerfdCacherfileInfo dateCacher Connection connSendMany connSendAll connSendFile connCloseconnRecv connRecvBufconnWriteBufferconnBufferSizeRecvBufRecvBufSizeBufferSendFileFileId fileIdPathfileIdFdInvalidRequestNotEnoughLines BadFirstLineNonHttpIncompleteHeadersConnectionClosedByPeerOverLargeHeaderBadProxyHeader HeaderValuePort bufferSizeallocateBuffer freeBuffercopy IndexedHeaderrequestMaxIndexsendFile readSendFile ProxyProtocolProxyProtocolNoneProxyProtocolRequiredProxyProtocolOptionalSettings settingsPort settingsHostsettingsOnExceptionsettingsOnExceptionResponsesettingsOnOpensettingsOnClosesettingsTimeoutsettingsManagersettingsFdCacheDurationsettingsFileInfoCacheDurationsettingsBeforeMainLoop settingsForksettingsNoParsePathsettingsInstallShutdownHandlersettingsServerNamesettingsMaximumBodyFlushsettingsProxyProtocolsettingsSlowlorisSizesettingsHTTP2EnabledsettingsLoggerdefaultSettingsdefaultShouldDisplayExceptiondefaultOnExceptiondefaultOnExceptionResponseexceptionResponseForDebugmakePlainReceiveN sendResponse warpVersion recvRequestServeConnectionsocketConnectionrunrunHTTP2runServerunEnv runHTTP2Env runServeEnv runSettingsrunHTTP2SettingsrunServeSettingsrunSettingsSocketrunHTTP2SettingsSocketrunServeSettingsSocketrunSettingsConnectionrunServeSettingsConnectionrunSettingsConnectionMakerrunServeSettingsConnectionMaker runSettingsConnectionMakerSecure%runServeSettingsConnectionMakerSecure serveDefault serveHTTP2setPortsetHostsetOnExceptionsetOnExceptionResponse setOnOpen setOnClose setTimeout setManagersetFdCacheDurationsetFileInfoCacheDurationsetBeforeMainLoopsetNoParsePathgetPortgetHost getOnOpen getOnClosegetOnExceptionsetInstallShutdownHandler setServerNamesetMaximumBodyFlushsetForksetProxyProtocolNonesetProxyProtocolRequiredsetProxyProtocolOptionalsetSlowlorisSizesetHTTP2Disabled setLogger pauseTimeout getFileInfowindowsThreadBlockHackcatchIOversionbindirlibdirdatadir libexecdir sysconfdir getBinDir getLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNameTablereadInt readInt64 mhDigitToIntisDigit goawayFrame resetFrame settingsFrame pingFramewindowUpdateFrameBRMMapSomesearch searchWithisEmptyempty singletoninsertfromListtoListfromSortedList toSortedList pruneWithDigitUnoDueColorLeafNodeOneTomsnoctopinsert' balanceL' balanceR'turnBincraddlinkAlllinkmergevalid isBalanced isBlackSameblacks isRedSeparatereds isOrdered$fEqMMapbase Data.IORefatomicModifyIORef'atomicWriteIORefatomicModifyIORef modifyIORef' modifyIORef mkWeakIORef GHC.IORef writeIORef readIORefnewIORefIORefstart setAction ThreadSetCommandStopSpawnReplacestop spawnActionreplaceWithAction newThreadSetdelkillCounter newCounter waitForZeroincreasedecrease FileInfoCacheCacheEntryNegativePositivegetAndRegisterInfopositivenegativeoverride terminateStateActiveInactivePausedCanceled ignoreAll$fShowTimeoutThread$fExceptionTimeoutThreadgetCurrentHTTPDateSystem.Posix.TypesFdFdCacheHashFdEntry MutableStatusStatusstatusnewActiveStatusrefreshinactive newFdEntryfdCachelookcleanprune BufferPool readSource'mkSource readSourceleftoverSourcereadLeftoverSourceisTransportSecure$fExceptionInvalidRequest$fShowInvalidRequestlargeBufferSize minBufferSize newBufferPoolmallocBS usefulBuffer getBuffer putBufferwithForeignBufferwithBufferPooltoBuilderBufferbufferIO composeHeader httpVer11 httpVer10 copyStatus copyHeaders copyHeadercopyCRLFzerospccoloncrlfresponseMaxIndexResponseHeaderIndexResContentLength ResServerResDateRequestHeaderIndexReqContentLengthReqTransferEncoding ReqExpect ReqConnectionReqRangeReqHostReqIfModifiedSinceReqIfUnmodifiedSince ReqIfRangeindexRequestHeaderrequestKeyIndexdefaultIndexRequestHeaderindexResponseHeaderresponseKeyIndextraverseHeaderparseByteRangeshttpt_K5bvT12P71qJPccnLMsPeJNetwork.HTTP.Types.Header ByteRangescontentRangeHeaderHeaderaddContentHeadersForFilePart RspFileInfo WithoutBodyWithBodyconditionalRequestifModifiedSinceifUnmodifiedSinceifRange ifmodified ifunmodifiedifrange unconditional parseRange checkRangeaddContentHeadersc_pread packHeadermini positionReadwai_HOOvBW4iK7f1PosrUOAVtENetwork.Wai.InternalResponseghc-prim GHC.TypesFalseTrueGHC.BaseNothingc_recv makeReceiveNreceiveNspellreceive receiveBuf receiveloopISource readISource ChunkStateNeedLenNeedLenNewlineHaveLen DoneChunkingCSource mkISource mkCSource readCSource isHexDigitconcurrencyRefContext concurrencypushConcurrency continuedcurrentStreamIdnextPushStreamIdAuxSequence GHC.Conc.SyncTVarSyncSyncNone SyncFinishSyncNextOutputSFileSBuilderSFlushSFinishOFinishOGoaway OSettingsOFrame OResponseOPushONextControlCFinishCNextCNone StreamTableStream streamNumber streamStatestreamContentLengthstreamBodyLength streamWindowstreamPrecedence StreamStateIdleOpen HalfClosedClosed ClosedCodeFinishedKilledReset ResetByMe OpenState JustOpened ContinuedNoBodyHasBodyBody http2settings streamTablepriorityTreeSizeinputQoutputQencodeDynamicTabledecodeDynamicTableconnectionWindowPersistNext BytesFilledDynaNextInputhttp2verisHTTP2 outputStream newContext clearContextisIdleisOpen isHalfClosedisClosed newStreamopenedclosedenqueueWhenWindowIsOpenenqueueOrSpawnTemporaryWaiter $fShowStream$fShowStreamState $fShowControl StreamInfoThreadContinueResponseReceivedRespondNetwork.Wai.HTTP2HTTP2Application Responderresponse runStream cleanupStream pushResponderhttp2_9niK8pai0Pb1wmJU7T7kZANetwork.HTTP2.Types enablePushmaxConcurrentStreamsactuallyPushResponderwaiterBreakworkernewThreadContinuesetThreadContinuegetThreadContinue newStreamInfoclearStreamInfo setStreamInfo getStreamInfo$fExceptionBreak toBufIOWithResponseHeaders Network.WairesponseBuilderNetwork.HTTP.Types.Statusbytes_6elQVSg5cWdFrvRnfxTUrH Data.ByteString.Builder.InternalBuilderresponseStream StreamingBody responseRawIOData.ByteString.Internal ByteString responseFileGHC.IOFilePathMaybeFilePartJust sendFragment replaceHeaderRsp RspNoBodyRspFile RspBuilder RspStreamRspRawsanitizeHeaderscontainsNewlinessanitizeHeaderValuesendRspsendRspFile2XXsendRspFile404infoFromRequest checkPersist checkChunkinfoFromResponsehasBodyaddTransferEncodingaddDate addServercomposeHeaderBuilder concatCookiehpackEncodeHeaderhpackEncodeCIHeadershpackEncodeRawHeadershpackDecodeHeaderparseRequestLine parseHeaderparseHeaderLinesRequestTHStatus BSEndoListBSEndomaxTotalHeaderLength Application headerLines handleExpect bodyAndSourcetoLength isChunked timeoutBodypushcheckCRpauseTimeoutKeygetFileInfoKeyvhCLPseudo colonMethod colonPath colonAuth contentLenMkReq ValidHeadersvhMethodvhPathvhAuthvhHeader mkRequest emptyPseudovalidateHeaders newReadBodyreadBody frameReceivercontrolguardIt checkPrioritystreamOpenFile unlessClosed runStreamFile readOpenFile fillBufFileLeftoverLZeroLFileLOneLTwo getWindowSize frameSenderfillStreamBodyGetNextrunStreamBuilder fillBufStream nextForStreamhttp2goaway.:acceptConnectionforkflushEntireBody flushBody wrappedRecvsetSocketCloseOnExecgracefulShutdown