type.yo (818B)
1 conf(type - Defining the service type) 2 (The tt(type) statement defines how crossroads handles the stated 3 service. There are currently two types: tt(any) and 4 tt(http). The type tt(any) means that crossroads doesn't 5 interpret the contents of a TCP stream, but only distributes streams 6 over back ends. The type tt(http) means that crossroads has to 7 analyze what's in the messages, does magical HTTP header tricks, and 8 so on -- all to ensure that multiple connections are treated as one 9 session, or that the back end is notified of the client's IP 10 address. 11 12 Unless you really need such special features, use the type tt(any) (the 13 default), even for HTTP protocols.) 14 (tt(type) em(specifier), where em(specifier) is tt(any) or 15 tt(http)) 16 (tt(any)) 17 18