home *** CD-ROM | disk | FTP | other *** search
Unreal Engine 3 Package | 2003-04-16 | 32.9 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Unreal Engine 3 Package
(archive/unrealEngine3Package).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Unreal Engine 3 Package (archive/unrealEngine3Package)
| magic
| Supported |
1%
| dexvert
| Unreal Texture (image/unrealTexture)
| ext
| Unsupported |
1%
| dexvert
| KICK-Pascal Unit Interface (other/kickPascalUnitInterface)
| ext
| Unsupported |
100%
| file
| Unreal Engine package (little-endian), version 121/029, names: 197, imports: 36, exports: 178
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| UE3 Unreal Package (LE)
| default
| |
100%
| detectItEasy
| Format: UnrealEngine\Unreal Package(121,29)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| c1 83 2a 9e 79 00 1d 00 | 05 00 00 00 c5 00 00 00 |..*.y...|........|
|00000010| 50 01 00 00 b2 00 00 00 | e9 78 00 00 24 00 00 00 |P.......|.x..$...|
|00000020| ae 77 00 00 a9 31 72 a4 | c7 ed fc 48 a9 e5 49 66 |.w...1r.|...H..If|
|00000030| bd e6 60 e5 23 00 00 00 | ad 00 00 00 9e 00 00 00 |..`.#...|........|
|00000040| ad 00 00 00 9f 00 00 00 | ad 00 00 00 a0 00 00 00 |........|........|
|00000050| ad 00 00 00 a1 00 00 00 | ad 00 00 00 a2 00 00 00 |........|........|
|00000060| ad 00 00 00 a3 00 00 00 | ad 00 00 00 a4 00 00 00 |........|........|
|00000070| ad 00 00 00 a5 00 00 00 | ad 00 00 00 a6 00 00 00 |........|........|
|00000080| ad 00 00 00 a7 00 00 00 | ae 00 00 00 a9 00 00 00 |........|........|
|00000090| ae 00 00 00 aa 00 00 00 | ae 00 00 00 ab 00 00 00 |........|........|
|000000a0| ae 00 00 00 ac 00 00 00 | ae 00 00 00 ad 00 00 00 |........|........|
|000000b0| ae 00 00 00 ae 00 00 00 | ae 00 00 00 af 00 00 00 |........|........|
|000000c0| ae 00 00 00 b0 00 00 00 | ae 00 00 00 b1 00 00 00 |........|........|
|000000d0| ae 00 00 00 b2 00 00 00 | ae 00 00 00 b3 00 00 00 |........|........|
|000000e0| ae 00 00 00 b4 00 00 00 | ae 00 00 00 b5 00 00 00 |........|........|
|000000f0| ae 00 00 00 b6 00 00 00 | ae 00 00 00 b7 00 00 00 |........|........|
|00000100| ae 00 00 00 b8 00 00 00 | ae 00 00 00 b9 00 00 00 |........|........|
|00000110| b2 00 00 00 be 00 00 00 | b2 00 00 00 bf 00 00 00 |........|........|
|00000120| b2 00 00 00 c0 00 00 00 | b2 00 00 00 c1 00 00 00 |........|........|
|00000130| b2 00 00 00 c2 00 00 00 | b2 00 00 00 c3 00 00 00 |........|........|
|00000140| b2 00 00 00 c4 00 00 00 | b2 00 00 00 c5 00 00 00 |........|........|
|00000150| 05 4e 6f 6e 65 00 10 04 | 07 04 09 53 65 6e 64 54 |.None...|...SendT|
|00000160| 65 78 74 00 10 00 07 04 | 0b 48 54 54 50 48 65 61 |ext.....|.HTTPHea|
|00000170| 64 65 72 00 10 00 07 00 | 08 43 6c 65 61 6e 75 70 |der.....|.Cleanup|
|00000180| 00 10 00 07 00 05 43 6f | 72 65 00 10 00 07 04 07 |......Co|re......|
|00000190| 53 79 73 74 65 6d 00 10 | 00 07 04 05 55 57 65 62 |System..|....UWeb|
|000001a0| 00 10 00 07 00 0d 48 54 | 54 50 52 65 73 70 6f 6e |......HT|TPRespon|
|000001b0| 73 65 00 10 00 07 00 0a | 48 54 54 50 45 72 72 6f |se......|HTTPErro|
|000001c0| 72 00 10 00 07 00 14 53 | 65 6e 64 53 74 61 6e 64 |r......S|endStand|
|000001d0| 61 72 64 48 65 61 64 65 | 72 73 00 10 00 07 00 06 |ardHeade|rs......|
|000001e0| 51 75 65 72 79 00 10 00 | 07 00 0f 44 65 63 6f 64 |Query...|...Decod|
|000001f0| 65 46 6f 72 6d 44 61 74 | 61 00 10 00 07 00 09 52 |eFormDat|a......R|
|00000200| 65 64 69 72 65 63 74 00 | 10 00 07 00 0e 43 68 65 |edirect.|.....Che|
|00000210| 63 6b 52 61 77 42 79 74 | 65 73 00 10 00 07 00 15 |ckRawByt|es......|
|00000220| 43 72 65 61 74 65 52 65 | 73 70 6f 6e 73 65 4f 62 |CreateRe|sponseOb|
|00000230| 6a 65 63 74 00 10 00 07 | 00 0f 47 65 74 41 70 70 |ject....|..GetApp|
|00000240| 6c 69 63 61 74 69 6f 6e | 00 10 00 07 00 09 50 72 |lication|......Pr|
|00000250| 65 51 75 65 72 79 00 10 | 00 07 00 0c 47 65 74 48 |eQuery..|....GetH|
|00000260| 65 78 44 69 67 69 74 00 | 10 00 07 00 0a 50 6f 73 |exDigit.|.....Pos|
|00000270| 74 51 75 65 72 79 00 10 | 00 07 00 06 43 6c 6f 73 |tQuery..|....Clos|
|00000280| 65 00 10 00 07 00 06 49 | 70 44 72 76 00 10 00 07 |e......I|pDrv....|
|00000290| 00 0d 52 65 63 65 69 76 | 65 64 4c 69 6e 65 00 10 |..Receiv|edLine..|
|000002a0| 00 07 00 0c 50 72 6f 63 | 65 73 73 48 65 61 64 00 |....Proc|essHead.|
|000002b0| 10 00 07 00 05 49 6e 69 | 74 00 10 00 07 04 14 50 |.....Ini|t......P|
|000002c0| 72 6f 63 65 73 73 48 65 | 61 64 65 72 53 74 72 69 |rocessHe|aderStri|
|000002d0| 6e 67 00 10 00 07 00 0d | 45 6e 64 4f 66 48 65 61 |ng......|EndOfHea|
|000002e0| 64 65 72 73 00 10 00 07 | 00 0b 53 65 6e 64 42 69 |ders....|..SendBi|
|000002f0| 6e 61 72 79 00 10 00 07 | 04 0b 50 72 6f 63 65 73 |nary....|..Proces|
|00000300| 73 47 65 74 00 10 00 07 | 00 07 45 6e 67 69 6e 65 |sGet....|..Engine|
|00000310| 00 10 00 07 04 13 46 61 | 69 6c 41 75 74 68 65 6e |......Fa|ilAuthen|
|00000320| 74 69 63 61 74 69 6f 6e | 00 10 00 07 00 06 46 6f |tication|......Fo|
|00000330| 72 63 65 00 10 00 07 00 | 06 4b 61 72 6d 61 00 10 |rce.....|.Karma..|
|00000340| 00 07 00 0a 43 6f 6c 6c | 69 73 69 6f 6e 00 10 00 |....Coll|ision...|
|00000350| 07 00 09 4d 6f 76 65 6d | 65 6e 74 00 10 00 07 00 |...Movem|ent.....|
|00000360| 0b 4c 69 67 68 74 43 6f | 6c 6f 72 00 10 00 07 00 |.LightCo|lor.....|
|00000370| 09 4c 69 67 68 74 69 6e | 67 00 10 00 07 00 0c 50 |.Lightin|g......P|
|00000380| 72 6f 63 65 73 73 50 6f | 73 74 00 10 00 07 00 07 |rocessPo|st......|
|00000390| 4c 69 73 74 65 6e 00 10 | 00 07 00 06 53 75 62 73 |Listen..|....Subs|
|000003a0| 74 00 10 00 07 00 12 45 | 78 70 69 72 61 74 69 6f |t......E|xpiratio|
|000003b0| 6e 53 65 63 6f 6e 64 73 | 00 10 00 07 00 13 44 65 |nSeconds|......De|
|000003c0| 66 61 75 6c 74 41 70 70 | 6c 69 63 61 74 69 6f 6e |faultApp|lication|
|000003d0| 00 10 00 07 00 0f 4d 61 | 78 43 6f 6e 6e 65 63 74 |......Ma|xConnect|
|000003e0| 69 6f 6e 73 00 10 00 07 | 00 0b 43 6c 65 61 72 53 |ions....|..ClearS|
|000003f0| 75 62 73 74 00 10 00 07 | 00 0c 49 6e 63 6c 75 64 |ubst....|..Includ|
|00000400| 65 55 48 54 4d 00 10 00 | 07 00 12 49 6e 63 6c 75 |eUHTM...|...Inclu|
|00000410| 64 65 42 69 6e 61 72 79 | 46 69 6c 65 00 10 00 07 |deBinary|File....|
|00000420| 00 0b 4c 69 73 74 65 6e | 50 6f 72 74 00 10 00 07 |..Listen|Port....|
|00000430| 00 0f 4c 6f 61 64 50 61 | 72 73 65 64 55 48 54 4d |..LoadPa|rsedUHTM|
|00000440| 00 10 00 07 00 12 47 65 | 74 48 54 54 50 45 78 70 |......Ge|tHTTPExp|
|00000450| 69 72 61 74 69 6f 6e 00 | 10 00 07 00 0f 53 65 6e |iration.|.....Sen|
|00000460| 64 43 61 63 68 65 64 46 | 69 6c 65 00 10 00 07 00 |dCachedF|ile.....|
|00000470| 0a 42 65 67 69 6e 50 6c | 61 79 00 10 00 07 04 06 |.BeginPl|ay......|
|00000480| 54 69 6d 65 72 00 10 00 | 07 04 0a 4c 6f 73 74 43 |Timer...|...LostC|
|00000490| 68 69 6c 64 00 10 00 07 | 04 0c 47 61 69 6e 65 64 |hild....|..Gained|
|000004a0| 43 68 69 6c 64 00 10 00 | 07 04 0a 44 65 73 74 72 |Child...|...Destr|
|000004b0| 6f 79 65 64 00 10 00 07 | 04 0c 52 65 71 75 65 73 |oyed....|..Reques|
|000004c0| 74 5f 47 45 54 00 10 00 | 07 00 0d 52 65 71 75 65 |t_GET...|...Reque|
|000004d0| 73 74 5f 50 4f 53 54 00 | 10 00 07 00 0a 57 65 62 |st_POST.|.....Web|
|000004e0| 53 65 72 76 65 72 00 10 | 00 07 00 0e 57 65 62 43 |Server..|....WebC|
|000004f0| 6f 6e 6e 65 63 74 69 6f | 6e 00 10 00 07 00 0c 49 |onnectio|n......I|
|00000500| 6d 61 67 65 53 65 72 76 | 65 72 00 10 00 07 00 0f |mageServ|er......|
|00000510| 57 65 62 41 70 70 6c 69 | 63 61 74 69 6f 6e 00 10 |WebAppli|cation..|
|00000520| 00 07 00 09 48 65 6c 6c | 6f 57 65 62 00 10 00 07 |....Hell|oWeb....|
|00000530| 00 0d 44 65 63 6f 64 65 | 42 61 73 65 36 34 00 10 |..Decode|Base64..|
|00000540| 00 07 00 0c 41 64 64 56 | 61 72 69 61 62 6c 65 00 |....AddV|ariable.|
|00000550| 10 00 07 00 0b 57 65 62 | 52 65 71 75 65 73 74 00 |.....Web|Request.|
|00000560| 10 00 07 00 0c 57 65 62 | 52 65 73 70 6f 6e 73 65 |.....Web|Response|
|00000570| 00 10 00 07 00 0f 49 70 | 41 64 64 72 54 6f 53 74 |......Ip|AddrToSt|
|00000580| 72 69 6e 67 00 10 00 07 | 00 0b 47 65 74 4c 6f 63 |ring....|..GetLoc|
|00000590| 61 6c 49 50 00 10 00 07 | 00 09 42 69 6e 64 50 6f |alIP....|..BindPo|
|000005a0| 72 74 00 10 00 07 00 0d | 52 65 63 65 69 76 65 64 |rt......|Received|
|000005b0| 54 65 78 74 00 10 00 07 | 00 0c 47 65 74 56 61 72 |Text....|..GetVar|
|000005c0| 69 61 62 6c 65 00 10 00 | 07 00 11 47 65 74 56 61 |iable...|...GetVa|
|000005d0| 72 69 61 62 6c 65 43 6f | 75 6e 74 00 10 00 07 00 |riableCo|unt.....|
|000005e0| 12 47 65 74 56 61 72 69 | 61 62 6c 65 4e 75 6d 62 |.GetVari|ableNumb|
|000005f0| 65 72 00 10 00 07 00 0c | 41 63 63 65 70 74 43 6c |er......|AcceptCl|
|00000600| 61 73 73 00 10 00 07 00 | 0c 49 6e 63 6c 75 64 65 |ass.....|.Include|
|00000610| 50 61 74 68 00 10 00 07 | 00 09 41 63 63 65 70 74 |Path....|..Accept|
|00000620| 65 64 00 10 00 07 00 07 | 43 6c 6f 73 65 64 00 10 |ed......|Closed..|
|00000630| 00 07 00 0a 4c 69 6e 6b | 53 74 61 74 65 00 10 00 |....Link|State...|
|00000640| 07 00 08 54 63 70 4c 69 | 6e 6b 00 10 00 07 00 0d |...TcpLi|nk......|
|00000650| 49 6e 74 65 72 6e 65 74 | 4c 69 6e 6b 00 10 00 07 |Internet|Link....|
|00000660| 00 09 62 45 6e 61 62 6c | 65 64 00 10 00 07 00 09 |..bEnabl|ed......|
|00000670| 50 61 73 73 77 6f 72 64 | 00 10 00 07 00 09 55 73 |Password|......Us|
|00000680| 65 72 6e 61 6d 65 00 10 | 00 07 00 07 48 65 61 64 |ername..|....Head|
|00000690| 65 72 00 10 00 07 00 0e | 45 6e 67 69 6e 65 56 65 |er......|EngineVe|
|000006a0| 72 73 69 6f 6e 00 10 00 | 07 00 0d 52 65 63 65 69 |rsion...|...Recei|
|000006b0| 76 65 64 44 61 74 61 00 | 10 00 07 00 08 52 65 71 |vedData.|.....Req|
|000006c0| 75 65 73 74 00 10 00 07 | 00 09 52 65 73 70 6f 6e |uest....|..Respon|
|000006d0| 73 65 00 10 00 07 00 0c | 41 70 70 6c 69 63 61 74 |se......|Applicat|
|000006e0| 69 6f 6e 00 10 00 07 00 | 12 52 61 77 42 79 74 65 |ion.....|.RawByte|
|000006f0| 73 45 78 70 65 63 74 69 | 6e 67 00 10 00 07 00 02 |sExpecti|ng......|
|00000700| 4c 00 10 00 07 00 07 49 | 70 41 64 64 72 00 10 00 |L......I|pAddr...|
|00000710| 07 00 0b 53 65 72 76 65 | 72 4e 61 6d 65 00 10 00 |...Serve|rName...|
|00000720| 07 00 06 56 61 6c 75 65 | 00 10 00 07 00 05 44 61 |...Value|......Da|
|00000730| 74 61 00 10 00 07 00 05 | 54 65 78 74 00 10 00 07 |ta......|Text....|
|00000740| 00 09 46 69 6c 65 6e 61 | 6d 65 00 10 00 07 00 0d |..Filena|me......|
|00000750| 41 70 70 6c 69 63 61 74 | 69 6f 6e 73 00 10 00 07 |Applicat|ions....|
|00000760| 00 11 41 70 70 6c 69 63 | 61 74 69 6f 6e 50 61 74 |..Applic|ationPat|
|00000770| 68 73 00 10 00 07 00 06 | 4f 77 6e 65 72 00 10 00 |hs......|Owner...|
|00000780| 07 00 04 55 52 4c 00 10 | 00 07 00 12 44 79 6e 61 |...URL..|....Dyna|
|00000790| 6d 69 63 4c 6f 61 64 4f | 62 6a 65 63 74 00 10 00 |micLoadO|bject...|
|000007a0| 07 00 02 69 00 10 00 07 | 00 0a 53 65 72 76 65 72 |...i....|..Server|
|000007b0| 55 52 4c 00 10 00 07 00 | 13 41 70 70 6c 69 63 61 |URL.....|.Applica|
|000007c0| 74 69 6f 6e 4f 62 6a 65 | 63 74 73 00 10 00 07 00 |tionObje|cts.....|
|000007d0| 10 43 6f 6e 6e 65 63 74 | 69 6f 6e 43 6f 75 6e 74 |.Connect|ionCount|
|000007e0| 00 10 00 07 00 11 41 70 | 70 6c 69 63 61 74 69 6f |......Ap|plicatio|
|000007f0| 6e 43 6c 61 73 73 00 10 | 00 07 00 02 74 00 10 00 |nClass..|....t...|
|00000800| 07 00 04 55 52 49 00 10 | 00 07 00 07 53 75 62 55 |...URI..|....SubU|
|00000810| 52 49 00 10 00 07 00 0f | 52 65 70 6c 61 63 65 6d |RI......|Replacem|
|00000820| 65 6e 74 4d 61 70 00 10 | 00 07 00 02 53 00 10 00 |entMap..|....S...|
|00000830| 07 00 0b 43 6f 6e 6e 65 | 63 74 69 6f 6e 00 10 00 |...Conne|ction...|
|00000840| 07 00 0a 62 53 65 6e 74 | 54 65 78 74 00 10 00 07 |...bSent|Text....|
|00000850| 00 0e 62 53 65 6e 74 52 | 65 73 70 6f 6e 73 65 00 |..bSentR|esponse.|
|00000860| 10 00 07 00 0c 52 65 74 | 75 72 6e 56 61 6c 75 65 |.....Ret|urnValue|
|00000870| 00 10 00 07 00 09 56 61 | 72 69 61 62 6c 65 00 10 |......Va|riable..|
|00000880| 00 07 00 07 62 43 6c 65 | 61 72 00 10 00 07 00 02 |....bCle|ar......|
|00000890| 44 00 10 00 07 00 02 43 | 00 10 00 07 00 02 42 00 |D......C|......B.|
|000008a0| 10 00 07 00 0b 53 63 72 | 69 70 74 54 65 78 74 00 |.....Scr|iptText.|
|000008b0| 10 00 07 00 0a 4c 65 76 | 65 6c 49 6e 66 6f 00 10 |.....Lev|elInfo..|
|000008c0| 00 07 00 0e 4f 66 66 73 | 65 74 53 65 63 6f 6e 64 |....Offs|etSecond|
|000008d0| 73 00 10 00 07 00 08 62 | 4e 6f 43 52 4c 46 00 10 |s......b|NoCRLF..|
|000008e0| 00 07 00 06 4c 65 76 65 | 6c 00 10 00 07 00 0c 43 |....Leve|l......C|
|000008f0| 6f 6e 74 65 6e 74 54 79 | 70 65 00 10 00 07 00 06 |ontentTy|pe......|
|00000900| 41 63 74 6f 72 00 10 00 | 07 00 06 52 65 61 6c 6d |Actor...|...Realm|
|00000910| 00 10 00 07 00 05 50 61 | 74 68 00 10 00 07 00 06 |......Pa|th......|
|00000920| 43 6f 75 6e 74 00 10 00 | 07 00 06 54 69 74 6c 65 |Count...|...Title|
|00000930| 00 10 00 07 04 09 45 72 | 72 6f 72 4e 75 6d 00 10 |......Er|rorNum..|
|00000940| 00 07 00 06 43 6c 61 73 | 73 00 10 04 07 04 07 62 |....Clas|s......b|
|00000950| 43 61 63 68 65 00 10 00 | 07 00 08 50 61 63 6b 61 |Cache...|...Packa|
|00000960| 67 65 00 10 04 07 04 0d | 45 52 65 71 75 65 73 74 |ge......|ERequest|
|00000970| 54 79 70 65 00 10 00 07 | 00 0b 54 65 78 74 42 75 |Type....|..TextBu|
|00000980| 66 66 65 72 00 10 00 07 | 04 07 4f 62 6a 65 63 74 |ffer....|..Object|
|00000990| 00 10 00 07 04 0e 43 6f | 6e 74 65 6e 74 4c 65 6e |......Co|ntentLen|
|000009a0| 67 74 68 00 10 00 07 00 | 0c 52 65 71 75 65 73 74 |gth.....|.Request|
|000009b0| 54 79 70 65 00 10 00 07 | 00 0c 56 61 72 69 61 62 |Type....|..Variab|
|000009c0| 6c 65 4d 61 70 00 10 00 | 07 00 05 45 6e 75 6d 00 |leMap...|...Enum.|
|000009d0| 10 04 07 04 08 45 6e 63 | 6f 64 65 64 00 10 00 07 |.....Enc|oded....|
|000009e0| 00 09 46 75 6e 63 74 69 | 6f 6e 00 10 04 07 04 0d |..Functi|on......|
|000009f0| 56 61 72 69 61 62 6c 65 | 4e 61 6d 65 00 10 00 07 |Variable|Name....|
|00000a00| 00 07 53 74 72 75 63 74 | 00 10 04 07 04 0d 44 65 |..Struct|......De|
|00000a10| 66 61 75 6c 74 56 61 6c | 75 65 00 10 00 07 00 0c |faultVal|ue......|
|00000a20| 53 74 72 50 72 6f 70 65 | 72 74 79 00 10 00 07 04 |StrPrope|rty.....|
|00000a30| 0f 53 74 72 75 63 74 50 | 72 6f 70 65 72 74 79 00 |.StructP|roperty.|
|00000a40| 10 00 07 04 07 4e 75 6d | 62 65 72 00 10 00 07 00 |.....Num|ber.....|
|00000a50| 0e 43 6c 61 73 73 50 72 | 6f 70 65 72 74 79 00 10 |.ClassPr|operty..|
|00000a60| 00 07 04 0f 4f 62 6a 65 | 63 74 50 72 6f 70 65 72 |....Obje|ctProper|
|00000a70| 74 79 00 10 00 07 04 06 | 54 6f 6b 65 6e 00 10 00 |ty......|Token...|
|00000a80| 07 00 03 63 68 00 10 00 | 07 00 0d 42 6f 6f 6c 50 |...ch...|...BoolP|
|00000a90| 72 6f 70 65 72 74 79 00 | 10 00 07 04 0c 49 6e 74 |roperty.|.....Int|
|00000aa0| 50 72 6f 70 65 72 74 79 | 00 10 00 07 04 0d 42 79 |Property|......By|
|00000ab0| 74 65 50 72 6f 70 65 72 | 74 79 00 10 00 07 04 06 |teProper|ty......|
|00000ac0| 49 6d 61 67 65 00 10 00 | 07 00 05 4e 6f 6e 65 00 |Image...|...None.|
|00000ad0| 10 04 07 04 05 4e 6f 6e | 65 00 10 04 07 04 05 4e |.....Non|e......N|
|00000ae0| 6f 6e 65 00 10 04 07 04 | 05 4e 6f 6e 65 00 10 04 |one.....|.None...|
|00000af0| 07 04 05 4e 6f 6e 65 00 | 10 04 07 04 05 4e 6f 6e |...None.|.....Non|
|00000b00| 65 00 10 04 07 04 05 4e | 6f 6e 65 00 10 04 07 04 |e......N|one.....|
|00000b10| 05 4e 6f 6e 65 00 10 04 | 07 04 05 4e 6f 6e 65 00 |.None...|...None.|
|00000b20| 10 04 07 04 05 4e 6f 6e | 65 00 10 04 07 04 08 43 |.....Non|e......C|
|00000b30| 68 61 72 53 65 74 00 10 | 00 07 00 05 4e 6f 6e 65 |harSet..|....None|
|00000b40| 00 10 04 07 04 05 4e 6f | 6e 65 00 10 04 07 04 05 |......No|ne......|
|00000b50| 4e 6f 6e 65 00 10 04 07 | 04 05 4e 6f 6e 65 00 10 |None....|..None..|
|00000b60| 04 07 04 05 4e 6f 6e 65 | 00 10 04 07 04 05 4e 6f |....None|......No|
|00000b70| 6e 65 00 10 04 07 04 05 | 4e 6f 6e 65 00 10 04 07 |ne......|None....|
|00000b80| 04 05 4e 6f 6e 65 00 10 | 04 07 04 05 4e 6f 6e 65 |..None..|....None|
|00000b90| 00 10 04 07 04 05 4e 6f | 6e 65 00 10 04 07 04 05 |......No|ne......|
|00000ba0| 4e 6f 6e 65 00 10 04 07 | 04 05 4e 6f 6e 65 00 10 |None....|..None..|
|00000bb0| 04 07 04 05 4e 6f 6e 65 | 00 10 04 07 04 05 4e 6f |....None|......No|
|00000bc0| 6e 65 00 10 04 07 04 05 | 4e 6f 6e 65 00 10 04 07 |ne......|None....|
|00000bd0| 04 05 4e 6f 6e 65 00 10 | 04 07 04 05 4e 6f 6e 65 |..None..|....None|
|00000be0| 00 10 04 07 04 0b 43 6c | 65 61 6e 75 70 41 70 70 |......Cl|eanupApp|
|00000bf0| 00 10 00 07 00 0a 49 73 | 48 61 6e 67 69 6e 67 00 |......Is|Hanging.|
|00000c00| 10 00 07 00 0e 62 44 65 | 6c 61 79 43 6c 65 61 6e |.....bDe|layClean|
|00000c10| 75 70 00 10 00 07 00 08 | 4e 65 74 4d 6f 64 65 00 |up......|NetMode.|
|00000c20| 10 00 07 00 05 4e 6f 6e | 65 00 10 04 07 04 05 4e |.....Non|e......N|
|00000c30| 6f 6e 65 00 10 04 07 04 | 05 4e 6f 6e 65 00 10 04 |one.....|.None...|
|00000c40| 07 04 05 4e 6f 6e 65 00 | 10 04 07 04 05 4e 6f 6e |...None.|.....Non|
|00000c50| 65 00 10 04 07 04 05 4e | 6f 6e 65 00 10 04 07 04 |e......N|one.....|
|00000c60| 05 4e 6f 6e 65 00 10 04 | 07 04 88 00 77 01 6f 01 |.None...|....w.o.|
|00000c70| 40 01 00 00 00 00 ff ff | ff ff ff ff ff ff 00 00 |@.......|........|
|00000c80| 00 00 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00000c90| ff ff ff ff 00 00 00 00 | 36 01 00 00 00 00 00 00 |........|6.......|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 0c 01 01 00 |........|........|
|00000cb0| 00 00 40 71 1b c0 88 01 | 00 00 00 46 8d 69 99 12 |..@q....|...F.i..|
|00000cc0| 00 00 00 00 56 be 64 46 | 8d 00 00 00 00 90 ab 2b |....V.dF|.......+|
|00000cd0| 8f 12 00 00 00 00 56 be | 64 46 0d 00 00 00 00 52 |......V.|dF.....R|
|00000ce0| 16 d1 8f 12 00 00 00 00 | 56 be 64 46 0d 00 00 00 |........|V.dF....|
|00000cf0| 00 52 16 d1 8f 12 00 00 | 00 00 56 be 64 46 12 00 |.R......|..V.dF..|
|00000d00| 00 00 00 56 be 64 46 12 | 00 00 00 00 56 be 64 46 |...V.dF.|....V.dF|
|00000d10| 12 00 00 00 00 56 be 64 | 46 02 06 04 88 05 00 49 |.....V.d|F......I|
|00000d20| 01 5d 08 07 2e 2e 2f 57 | 65 62 00 68 02 3d 0b 69 |.]..../W|eb.h.=.i|
|00000d30| 73 6f 2d 38 38 35 39 2d | 31 00 44 03 88 00 72 01 |so-8859-|1.D...r.|
|00000d40| 54 02 3f 00 00 00 00 ff | ff ff ff ff ff ff ff 00 |T.?.....|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 ff ff ff ff ff |........|........|
|00000d60| ff ff ff ff ff 00 00 00 | 00 12 01 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 02 02 01 |........|........|
|00000d80| 00 00 00 7e 4c 6b c7 88 | 01 00 00 00 46 8d 69 99 |...~Lk..|....F.i.|
|00000d90| 02 06 04 88 05 00 44 03 | 44 03 00 06 01 00 00 00 |......D.|D.......|
|00000da0| 00 00 00 00 44 03 02 88 | 00 50 02 63 02 3b 00 00 |....D...|.P.c.;..|
|00000db0| 00 00 ff ff ff ff ff ff | ff ff 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000dd0| 00 00 00 00 12 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 02 04 01 00 00 00 a5 1c |........|........|
|00000df0| 67 6b 88 01 00 00 00 46 | 8d 69 99 02 06 04 88 05 |gk.....F|.i......|
|00000e00| 00 44 03 44 03 00 27 01 | 00 00 00 80 00 00 00 44 |.D.D..'.|.......D|
|00000e10| 03 01 44 03 00 08 01 00 | 00 00 00 00 00 00 44 03 |..D.....|......D.|
|00000e20| 01 44 03 00 33 02 00 00 | 00 00 00 40 00 44 03 44 |.D..3...|...@.D.D|
|00000e30| 03 00 6f 02 01 00 00 00 | 00 00 00 00 44 03 04 44 |..o.....|....D..D|
|00000e40| 03 00 2a 01 00 00 00 00 | 00 00 00 44 03 44 03 00 |..*.....|...D.D..|
|00000e50| 1a 01 00 00 00 80 00 40 | 00 44 03 44 03 00 03 01 |.......@|.D.D....|
|00000e60| 00 00 00 00 00 40 00 44 | 03 44 03 00 18 01 00 00 |.....@.D|.D......|
|00000e70| 00 80 00 40 00 44 03 8a | 00 7d 01 43 02 38 00 00 |...@.D..|.}.C.8..|
|00000e80| 00 00 ff ff ff ff ff ff | ff ff 00 00 00 00 0e 00 |........|........|
|00000e90| 00 00 00 00 80 01 ff ff | ff ff ff ff ff ff ff ff |........|........|
|00000ea0| 00 00 00 00 1e 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 09 0d 01 00 00 00 52 16 |........|......R.|
|00000ec0| d1 8f 8a 01 00 00 00 b9 | 24 6e 27 04 00 00 00 00 |........|$n'.....|
|00000ed0| a5 1c 67 6b 8d 00 00 00 | 00 90 ab 2b 8f 8d 00 00 |..gk....|...+....|
|00000ee0| 00 00 90 ab 2b 8f 04 00 | 00 00 00 a5 1c 67 6b 04 |....+...|.....gk.|
|00000ef0| 00 00 00 00 a5 1c 67 6b | 04 00 00 00 00 a5 1c 67 |......gk|.......g|
|00000f00| 6b 04 00 00 00 00 a5 1c | 67 6b 04 06 14 1c 04 88 |k.......|gk......|
|00000f10| 05 06 21 20 23 22 1f 1e | 60 01 5d 19 18 78 57 65 |..! #"..|`.]..xWe|
|00000f20| 62 41 64 6d 69 6e 2e 55 | 54 53 65 72 76 65 72 41 |bAdmin.U|TServerA|
|00000f30| 64 6d 69 6e 00 60 01 dd | 19 01 18 78 57 65 62 41 |dmin.`..|...xWebA|
|00000f40| 64 6d 69 6e 2e 55 54 49 | 6d 61 67 65 53 65 72 76 |dmin.UTI|mageServ|
|00000f50| 65 72 00 61 01 5d 0e 0d | 2f 53 65 72 76 65 72 41 |er.a.]..|/ServerA|
|00000f60| 64 6d 69 6e 00 61 01 dd | 09 01 08 2f 69 6d 61 67 |dmin.a..|.../imag|
|00000f70| 65 73 00 2d 22 50 00 00 | 00 29 22 1e 00 00 00 27 |es.-"P..|.)"....'|
|00000f80| 22 80 51 01 00 48 01 05 | 12 44 03 44 03 00 00 01 |".Q..H..|.D.D....|
|00000f90| 00 00 00 00 00 00 00 44 | 03 44 03 00 28 0a 00 00 |.......D|.D..(...|
|00000fa0| 00 00 00 00 00 44 03 04 | 44 03 00 0b 01 00 00 00 |.....D..|D.......|
|00000fb0| 00 00 00 00 44 03 0d 44 | 03 00 25 01 00 00 00 80 |....D..D|..%.....|
|00000fc0| 00 40 00 44 03 8a 00 4c | 02 72 02 39 00 00 00 00 |.@.D...L|.r.9....|
|00000fd0| ff ff ff ff ff ff ff ff | 00 00 00 00 00 01 00 00 |........|........|
|00000fe0| 00 00 80 00 ff ff ff ff | ff ff ff ff ff ff 00 00 |........|........|
|00000ff0| 00 00 1a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 00 00 00 00 24 12 | 01 00 00 00 56 be 64 46 |......$.|....V.dF|
|00001010| 8a 01 00 00 00 b9 24 6e | 27 01 00 00 00 00 40 71 |......$n|'.....@q|
|00001020| 1b c0 02 00 00 00 00 7e | 4c 6b c7 02 00 00 00 00 |.......~|Lk......|
|00001030| 7e 4c 6b c7 01 00 00 00 | 00 40 71 1b c0 02 00 00 |~Lk.....|.@q.....|
|00001040| 00 00 7e 4c 6b c7 04 00 | 00 00 00 a5 1c 67 6b 04 |..~Lk...|.....gk.|
|00001050| 00 00 00 00 a5 1c 67 6b | 04 00 00 00 00 a5 1c 67 |......gk|.......g|
|00001060| 6b 01 00 00 00 00 40 71 | 1b c0 01 00 00 00 00 40 |k.....@q|.......@|
|00001070| 71 1b c0 02 00 00 00 00 | 7e 4c 6b c7 02 00 00 00 |q.......|~Lk.....|
|00001080| 00 7e 4c 6b c7 02 00 00 | 00 00 7e 4c 6b c7 04 00 |.~Lk....|..~Lk...|
|00001090| 00 00 00 a5 1c 67 6b 04 | 00 00 00 00 a5 1c 67 6b |.....gk.|......gk|
|000010a0| 04 00 00 00 00 a5 1c 67 | 6b 01 00 00 00 00 40 71 |.......g|k.....@q|
|000010b0| 1b c0 02 00 00 00 00 7e | 4c 6b c7 02 00 00 00 00 |.......~|Lk......|
|000010c0| 7e 4c 6b c7 0d 00 00 00 | 00 52 16 d1 8f 02 00 00 |~Lk.....|.R......|
|000010d0| 00 00 7e 4c 6b c7 02 00 | 00 00 00 7e 4c 6b c7 01 |..~Lk...|...~Lk..|
|000010e0| 00 00 00 00 40 71 1b c0 | 02 00 00 00 00 7e 4c 6b |....@q..|.....~Lk|
|000010f0| c7 02 00 00 00 00 7e 4c | 6b c7 0d 00 00 00 00 52 |......~L|k......R|
|00001100| 16 d1 8f 02 00 00 00 00 | 7e 4c 6b c7 02 00 00 00 |........|~Lk.....|
|00001110| 00 7e 4c 6b c7 01 00 00 | 00 00 40 71 1b c0 0d 00 |.~Lk....|..@q....|
|00001120| 00 00 00 52 16 d1 8f 01 | 00 00 00 00 40 71 1b c0 |...R....|....@q..|
|00001130| 0d 00 00 00 00 52 16 d1 | 8f 0d 00 00 00 00 52 16 |.....R..|......R.|
|00001140| d1 8f 02 00 00 00 00 7e | 4c 6b c7 04 06 14 1c 04 |.......~|Lk......|
|00001150| 88 05 06 21 20 23 22 1f | 1e 44 03 44 03 00 21 01 |...! #".|.D.D..!.|
|00001160| 00 00 00 00 00 00 00 44 | 03 12 44 03 00 43 01 01 |.......D|..D..C..|
|00001170| 00 00 00 00 00 00 00 44 | 03 44 03 00 00 01 00 00 |.......D|.D......|
|00001180| 00 80 00 40 00 44 03 44 | 03 00 00 01 00 00 00 00 |...@.D.D|........|
|00001190| 00 00 00 44 03 44 03 00 | 22 01 00 00 00 00 00 00 |...D.D..|".......|
|000011a0| 00 44 03 44 03 00 00 01 | 00 00 00 00 00 00 00 44 |.D.D....|.......D|
|000011b0| 03 44 03 00 0f 01 00 00 | 00 00 00 40 00 44 03 44 |.D......|...@.D.D|
|000011c0| 03 00 00 01 00 00 00 00 | 00 00 00 44 03 44 03 00 |........|...D.D..|
|000011d0| 05 01 00 00 00 80 00 00 | 00 44 03 02 44 03 00 3f |........|.D..D..?|
|000011e0| 01 00 00 00 00 00 40 00 | 44 03 44 03 00 00 01 00 |......@.|D.D.....|
|000011f0| 00 00 00 00 00 00 44 03 | 44 03 00 00 01 00 00 00 |......D.|D.......|
|00001200| 00 00 40 00 44 03 44 03 | 00 0e 01 00 00 00 00 00 |..@.D.D.|........|
|00001210| 00 00 44 03 44 03 00 1e | 01 00 00 00 80 00 00 00 |..D.D...|........|
|00001220| 44 03 01 44 03 00 40 01 | 01 00 00 00 00 00 00 00 |D..D..@.|........|
|00001230| 44 03 44 03 00 00 01 00 | 00 00 00 00 00 00 44 03 |D.D.....|......D.|
|00001240| 44 03 00 00 01 00 00 00 | 00 00 40 00 44 03 44 03 |D.......|..@.D.D.|
|00001250| 00 5d 01 0a 00 00 00 00 | 40 40 00 44 03 44 03 00 |.]......|@@.D.D..|
|00001260| 00 01 00 00 00 00 00 00 | 00 44 03 44 03 00 42 01 |........|.D.D..B.|
|00001270| 01 00 00 00 80 00 40 00 | 44 03 44 03 00 00 01 00 |......@.|D.D.....|
|00001280| 00 00 00 00 00 00 44 03 | 44 03 00 00 01 00 00 00 |......D.|D.......|
|00001290| 00 00 00 00 44 03 44 03 | 00 07 01 00 00 00 80 00 |....D.D.|........|
|000012a0| 40 00 44 03 44 03 00 38 | 01 00 00 00 00 00 00 00 |@.D.D..8|........|
|000012b0| 44 03 8c 04 44 03 00 7f | 01 00 4c 01 26 00 00 00 |D...D...|..L.&...|
|000012c0| 00 12 00 00 00 de 02 00 | 00 10 00 00 00 29 4c 01 |........|.....)L.|
|000012d0| 29 4d 01 29 4e 01 0b 00 | 00 00 01 04 02 00 44 03 |)M.)N...|......D.|
|000012e0| 00 2d 01 00 00 00 00 40 | 00 00 44 03 44 03 00 3a |.-.....@|..D.D..:|
|000012f0| 01 00 00 00 00 40 00 00 | 44 03 44 03 00 78 01 01 |.....@..|D.D..x..|
|00001300| 00 00 00 00 00 00 00 44 | 03 63 01 44 03 00 2e 01 |.......D|.c.D....|
|00001310| 00 00 00 00 00 40 00 44 | 03 44 03 00 2f 01 00 00 |.....@.D|.D../...|
|00001320| 00 00 00 00 00 44 03 44 | 03 00 67 01 01 00 00 00 |.....D.D|..g.....|
|00001330| 90 00 40 00 44 03 44 03 | 00 41 01 01 00 00 00 00 |..@.D.D.|.A......|
|00001340| 00 00 00 44 03 8d 44 03 | 00 1f 01 00 00 00 00 00 |...D..D.|........|
|00001350| 40 00 44 03 44 03 00 00 | 01 00 00 00 80 00 40 00 |@.D.D...|......@.|
|00001360| 44 03 44 03 00 14 01 00 | 00 00 80 00 40 00 44 03 |D.D.....|....@.D.|
|00001370| 44 03 00 5c 01 01 00 00 | 00 80 00 40 00 44 03 44 |D..\....|...@.D.D|
|00001380| 03 00 19 01 00 00 00 00 | 40 00 00 44 03 44 03 00 |........|@..D.D..|
|00001390| 23 01 00 00 00 00 00 00 | 00 44 03 9f 44 03 00 5c |#.......|.D..D..\|
|000013a0| 02 00 61 02 0a 00 00 00 | 00 18 00 00 00 15 02 00 |..a.....|........|
|000013b0| 00 02 00 00 00 04 0b 00 | 00 00 00 00 02 00 44 03 |........|......D.|
|000013c0| 00 37 01 00 00 00 00 40 | 00 00 44 03 44 03 00 30 |.7.....@|..D.D..0|
|000013d0| 01 00 00 00 00 00 40 00 | 44 03 44 03 00 44 01 01 |......@.|D.D..D..|
|000013e0| 00 00 00 00 40 40 00 44 | 03 44 03 00 7c 01 00 51 |....@@.D|.D..|..Q|
|000013f0| 01 2b 00 00 00 00 14 00 | 00 00 3e 03 00 00 06 00 |.+......|..>.....|
|00001400| 00 00 29 51 01 0b 00 00 | 00 01 04 02 00 44 03 00 |..)Q....|.....D..|
|00001410| 56 01 00 48 01 3e 00 00 | 00 00 14 00 00 00 cf 01 |V..H.>..|........|
|00001420| 00 00 0b 00 00 00 29 48 | 01 29 69 01 0b 00 00 00 |......)H|.)i.....|
|00001430| 01 04 02 00 44 03 00 3b | 01 00 00 00 00 00 40 00 |....D..;|......@.|
|00001440| 44 03 44 03 00 00 01 00 | 00 00 00 00 00 00 44 03 |D.D.....|......D.|
|00001450| 44 03 00 60 01 01 00 00 | 00 00 00 00 00 44 03 0d |D..`....|.....D..|
|00001460| 44 03 00 41 02 01 00 00 | 00 80 01 40 00 44 03 44 |D..A....|...@.D.D|
|00001470| 03 00 00 01 00 00 00 00 | 00 40 00 44 03 44 03 00 |........|.@.D.D..|
|00001480| 24 0a 00 00 00 00 40 40 | 00 44 03 44 03 00 47 01 |$.....@@|.D.D..G.|
|00001490| 01 00 00 00 80 00 40 00 | 44 03 44 03 00 3e 00 45 |......@.|D.D..>.E|
|000014a0| 01 45 01 00 00 00 00 15 | 00 00 00 2d 02 00 00 0b |.E......|...-....|
|000014b0| 00 00 00 29 45 01 29 47 | 01 0b 00 00 00 01 04 02 |...)E.)G|........|
|000014c0| 00 44 03 00 42 02 01 00 | 00 00 90 00 40 00 44 03 |.D..B...|....@.D.|
|000014d0| 44 03 00 69 01 01 00 00 | 00 80 00 40 00 44 03 44 |D..i....|...@.D.D|
|000014e0| 03 00 20 01 00 00 00 80 | 00 00 00 44 03 02 44 03 |.. .....|...D..D.|
|000014f0| 00 46 01 00 4f 01 46 01 | 00 00 00 00 16 00 00 00 |.F..O.F.|........|
|00001500| 6f 02 00 00 06 00 00 00 | 29 4f 01 0b 00 00 00 01 |o.......|)O......|
|00001510| 04 02 00 44 03 00 00 01 | 00 00 00 80 00 00 00 44 |...D....|.......D|
|00001520| 03 87 44 03 00 4d 01 01 | 00 00 00 80 00 40 00 44 |..D..M..|.....@.D|
|00001530| 03 44 03 00 4e 01 01 00 | 00 00 80 00 40 00 44 03 |.D..N...|....@.D.|
|00001540| 44 03 00 00 01 00 00 00 | 90 00 00 00 44 03 44 03 |D.......|....D.D.|
|00001550| 00 45 02 01 00 00 00 80 | 00 40 00 44 03 44 03 00 |.E......|.@.D.D..|
|00001560| 00 01 00 00 00 80 00 00 | 00 44 03 87 44 03 00 00 |........|.D..D...|
|00001570| 01 00 00 00 80 00 40 00 | 44 03 44 03 00 3d 00 53 |......@.|D.D..=.S|
|00001580| 01 2c 00 00 00 00 15 00 | 00 00 7c 03 00 00 06 00 |.,......|..|.....|
|00001590| 00 00 29 53 01 0b 00 00 | 00 01 04 02 00 44 03 00 |..)S....|.....D..|
|000015a0| 00 01 00 00 00 80 00 40 | 00 44 03 44 03 00 7b 01 |.......@|.D.D..{.|
|000015b0| 01 00 00 00 80 00 40 00 | 44 03 44 03 00 79 01 01 |......@.|D.D..y..|
|000015c0| 00 00 00 80 00 40 00 44 | 03 44 03 00 1c 00 54 01 |.....@.D|.D....T.|
|000015d0| 3d 00 00 00 00 13 00 00 | 00 88 01 00 00 06 00 00 |=.......|........|
|000015e0| 00 29 54 01 0b 00 00 00 | 01 04 02 00 44 03 00 4a |.)T.....|....D..J|
|000015f0| 01 00 59 01 47 01 00 00 | 00 00 17 00 00 00 df 02 |..Y.G...|........|
|00001600| 00 00 10 00 00 00 29 59 | 01 29 5a 01 29 5b 01 0b |......)Y|.)Z.)[..|
|00001610| 00 00 00 01 04 02 00 44 | 03 00 76 01 01 00 00 00 |.......D|..v.....|
|00001620| 90 00 00 00 44 03 44 03 | 00 5a 01 01 00 00 00 80 |....D.D.|.Z......|
|00001630| 00 40 00 44 03 44 03 00 | 5b 01 01 00 00 00 80 00 |.@.D.D..|[.......|
|00001640| 00 00 44 03 44 03 00 4a | 02 01 00 00 00 90 00 40 |..D.D..J|.......@|
|00001650| 00 44 03 44 03 00 00 01 | 00 00 00 90 00 00 00 44 |.D.D....|.......D|
|00001660| 03 44 03 00 2c 01 00 00 | 00 00 40 00 00 44 03 44 |.D..,...|..@..D.D|
|00001670| 03 00 5f 01 01 00 00 00 | 80 00 00 00 44 03 44 03 |.._.....|....D.D.|
|00001680| 00 00 ff 00 00 00 80 00 | 00 00 44 03 00 44 03 00 |........|..D..D..|
|00001690| 00 01 00 00 00 00 00 40 | 00 44 03 44 03 00 62 01 |.......@|.D.D..b.|
|000016a0| 01 00 00 00 80 00 40 00 | 44 03 44 03 00 00 01 00 |......@.|D.D.....|
|000016b0| 00 00 90 00 40 00 44 03 | 44 03 00 00 02 36 37 44 |....@.D.|D....67D|
|000016c0| 03 00 00 01 00 00 00 80 | 00 40 00 44 03 44 03 00 |........|.@.D.D..|
|000016d0| 56 02 01 00 00 00 80 00 | 40 00 44 03 44 03 00 00 |V.......|@.D.D...|
|000016e0| 01 00 00 00 80 00 40 00 | 44 03 44 03 00 00 01 00 |......@.|D.D.....|
|000016f0| 00 00 90 00 00 00 44 03 | 44 03 00 00 01 00 00 00 |......D.|D.......|
|00001700| 80 00 40 00 44 03 44 03 | 00 00 01 00 00 00 80 00 |..@.D.D.|........|
|00001710| 40 00 44 03 44 03 00 6b | 01 01 00 00 00 80 00 00 |@.D.D..k|........|
|00001720| 00 44 03 44 03 00 00 01 | 00 00 00 90 00 40 00 44 |.D.D....|.....@.D|
|00001730| 03 44 03 00 7a 01 00 58 | 01 2f 00 00 00 00 17 00 |.D..z..X|./......|
|00001740| 00 00 35 04 00 00 06 00 | 00 00 29 58 01 0b 00 00 |..5.....|..)X....|
|00001750| 00 01 04 02 00 44 03 00 | 6e 01 00 6a 01 08 00 00 |.....D..|n..j....|
|00001760| 00 00 4b 00 00 00 c2 07 | 00 00 19 02 00 00 05 04 |..K.....|........|
|00001770| 00 6a 01 0a da 00 1d 90 | 01 00 00 1b 07 1f 48 54 |.j......|......HT|
|00001780| 54 50 2f 31 2e 31 20 34 | 30 30 20 42 61 64 20 52 |TP/1.1 4|00 Bad R|
|00001790| 65 71 75 65 73 74 00 16 | 1b 01 1f 3c 54 49 54 4c |equest..|...<TITL|
|000017a0| 45 3e 34 30 30 20 42 61 | 64 20 52 65 71 75 65 73 |E>400 Ba|d Reques|
|000017b0| 74 3c 2f 54 49 54 4c 45 | 3e 3c 48 31 3e 34 30 30 |t</TITLE|><H1>400|
|000017c0| 20 42 61 64 20 52 65 71 | 75 65 73 74 3c 2f 48 31 | Bad Req|uest</H1|
|000017d0| 3e 49 66 20 79 6f 75 20 | 67 6f 74 20 74 68 69 73 |>If you |got this|
|000017e0| 20 65 72 72 6f 72 20 66 | 72 6f 6d 20 61 20 73 74 | error f|rom a st|
|000017f0| 61 6e 64 61 72 64 20 77 | 65 62 20 62 72 6f 77 73 |andard w|eb brows|
|00001800| 65 72 2c 20 70 6c 65 61 | 73 65 20 6d 61 69 6c 20 |er, plea|se mail |
|00001810| 6a 61 63 6b 40 65 70 69 | 63 67 61 6d 65 73 2e 63 |jack@epi|cgames.c|
|00001820| 6f 6d 20 61 6e 64 20 73 | 75 62 6d 69 74 20 61 20 |om and s|ubmit a |
|00001830| 62 75 67 20 72 65 70 6f | 72 74 2e 00 16 06 17 02 |bug repo|rt......|
|00001840| 0a 79 01 1d 91 01 00 00 | 1b 07 1f 48 54 54 50 2f |.y......|...HTTP/|
|00001850| 31 2e 31 20 34 30 31 20 | 55 6e 61 75 74 68 6f 72 |1.1 401 |Unauthor|
|00001860| 69 7a 65 64 00 16 1b 02 | 70 70 1f 57 57 57 2d 61 |ized....|pp.WWW-a|
|00001870| 75 74 68 65 6e 74 69 63 | 61 74 65 3a 20 62 61 73 |uthentic|ate: bas|
|00001880| 69 63 20 72 65 61 6c 6d | 3d 22 00 00 6b 01 16 1f |ic realm|="..k...|
|00001890| 22 00 16 16 1b 01 1f 3c | 54 49 54 4c 45 3e 34 30 |"......<|TITLE>40|
|000018a0| 31 20 55 6e 61 75 74 68 | 6f 72 69 7a 65 64 3c 2f |1 Unauth|orized</|
|000018b0| 54 49 54 4c 45 3e 3c 48 | 31 3e 34 30 31 20 55 6e |TITLE><H|1>401 Un|
|000018c0| 61 75 74 68 6f 72 69 7a | 65 64 3c 2f 48 31 3e 00 |authoriz|ed</H1>.|
|000018d0| 16 06 17 02 0a 11 02 1d | 94 01 00 00 1b 07 1f 48 |........|.......H|
|000018e0| 54 54 50 2f 31 2e 31 20 | 34 30 34 20 4f 62 6a 65 |TTP/1.1 |404 Obje|
|000018f0| 63 74 20 4e 6f 74 20 46 | 6f 75 6e 64 00 16 1b 01 |ct Not F|ound....|
|00001900| 1f 3c 54 49 54 4c 45 3e | 34 30 34 20 46 69 6c 65 |.<TITLE>|404 File|
|00001910| 20 4e 6f 74 20 46 6f 75 | 6e 64 3c 2f 54 49 54 4c | Not Fou|nd</TITL|
|00001920| 45 3e 3c 48 31 3e 34 30 | 34 20 46 69 6c 65 20 4e |E><H1>40|4 File N|
|00001930| 6f 74 20 46 6f 75 6e 64 | 3c 2f 48 31 3e 54 68 65 |ot Found|</H1>The|
|00001940| 20 55 52 4c 20 79 6f 75 | 20 72 65 71 75 65 73 74 | URL you| request|
|00001950| 65 64 20 77 61 73 20 6e | 6f 74 20 66 6f 75 6e 64 |ed was n|ot found|
|00001960| 2e 00 16 06 17 02 0a ff | ff 06 17 02 04 0b 00 00 |........|........|
|00001970| 00 02 00 02 00 44 03 00 | 70 01 00 68 01 02 00 00 |.....D..|p..h....|
|00001980| 00 00 43 00 00 00 07 07 | 00 00 5d 00 00 00 07 3b |..C.....|..]....;|
|00001990| 00 2d 01 21 e7 1f 43 61 | 6e 27 74 20 73 65 6e 64 |.-.!..Ca|n't send|
|000019a0| 20 68 65 61 64 65 72 73 | 20 2d 20 61 6c 72 65 61 | headers| - alrea|
|000019b0| 64 79 20 63 61 6c 6c 65 | 64 20 53 65 6e 64 54 65 |dy calle|d SendTe|
|000019c0| 78 74 28 29 00 16 19 01 | 13 17 00 04 1b 01 70 70 |xt()....|......pp|
|000019d0| 00 68 01 ec 2c 0d 16 16 | ec 2c 0a 16 16 16 04 0b |.h..,...|.,......|
|000019e0| 00 00 00 02 00 02 00 44 | 03 00 6c 02 00 34 0c 00 |.......D|..l..4..|
|000019f0| 00 00 00 73 00 00 00 09 | 0d 00 00 cd 00 00 00 1b |...s....|........|
|00001a00| 07 1f 48 54 54 50 2f 31 | 2e 31 20 33 30 32 20 44 |..HTTP/1|.1 302 D|
|00001a10| 6f 63 75 6d 65 6e 74 20 | 4d 6f 76 65 64 00 16 1b |ocument |Moved...|
|00001a20| 02 70 1f 4c 6f 63 61 74 | 69 6f 6e 3a 20 00 00 34 |.p.Locat|ion: ..4|
|00001a30| 16 16 1b 01 1f 3c 68 65 | 61 64 3e 3c 74 69 74 6c |.....<he|ad><titl|
|00001a40| 65 3e 44 6f 63 75 6d 65 | 6e 74 20 4d 6f 76 65 64 |e>Docume|nt Moved|
|00001a50| 3c 2f 74 69 74 6c 65 3e | 3c 2f 68 65 61 64 3e 00 |</title>|</head>.|
|00001a60| 16 1b 01 70 70 1f 3c 62 | 6f 64 79 3e 3c 68 31 3e |...pp.<b|ody><h1>|
|00001a70| 4f 62 6a 65 63 74 20 4d | 6f 76 65 64 3c 2f 68 31 |Object M|oved</h1|
|00001a80| 3e 54 68 69 73 20 64 6f | 63 75 6d 65 6e 74 20 6d |>This do|cument m|
|00001a90| 61 79 20 62 65 20 66 6f | 75 6e 64 20 3c 61 20 48 |ay be fo|und <a H|
|00001aa0| 52 45 46 3d 22 00 00 34 | 16 1f 22 3e 68 65 72 65 |REF="..4|..">here|
|00001ab0| 3c 2f 61 3e 2e 00 16 16 | 04 0b 00 00 00 02 00 02 |</a>....|........|
|00001ac0| 00 44 03 00 71 01 00 66 | 01 07 00 00 00 00 3d 00 |.D..q..f|......=.|
|00001ad0| 00 00 ad 06 00 00 15 00 | 00 00 1b 02 00 66 01 16 |........|.....f..|
|00001ae0| 14 2d 01 40 01 27 04 0b | 00 00 00 02 00 02 00 44 |.-.@.'..|.......D|
|00001af0| 03 00 73 01 00 64 01 1d | 00 00 00 00 38 00 00 00 |..s..d..|....8...|
|00001b00| 66 06 00 00 12 00 00 00 | 1b 08 1d 91 01 00 00 00 |f.......|........|
|00001b10| 64 01 16 04 0b 00 00 00 | 02 00 02 00 44 03 00 00 |d.......|....D...|
|00001b20| 00 00 00 00 00 00 4f 24 | 63 6c 61 73 73 20 57 65 |......O$|class We|
|00001b30| 62 52 65 71 75 65 73 74 | 20 65 78 74 65 6e 64 73 |bRequest| extends|
|00001b40| 20 4f 62 6a 65 63 74 0d | 0a 09 6e 61 74 69 76 65 | Object.|..native|
|00001b50| 0d 0a 09 6e 6f 65 78 70 | 6f 72 74 3b 0d 0a 0d 0a |...noexp|ort;....|
|00001b60| 65 6e 75 6d 20 45 52 65 | 71 75 65 73 74 54 79 70 |enum ERe|questTyp|
|00001b70| 65 0d 0a 7b 0d 0a 09 52 | 65 71 75 65 73 74 5f 47 |e..{...R|equest_G|
|00001b80| 45 54 2c 0d 0a 09 52 65 | 71 75 65 73 74 5f 50 4f |ET,...Re|quest_PO|
|00001b90| 53 54 0d 0a 7d 3b 0d 0a | 0d 0a 76 61 72 20 73 74 |ST..};..|..var st|
|00001ba0| 72 69 6e 67 20 55 52 49 | 3b 0d 0a 76 61 72 20 73 |ring URI|;..var s|
|00001bb0| 74 72 69 6e 67 20 55 73 | 65 72 6e 61 6d 65 3b 0d |tring Us|ername;.|
|00001bc0| 0a 76 61 72 20 73 74 72 | 69 6e 67 20 50 61 73 73 |.var str|ing Pass|
|00001bd0| 77 6f 72 64 3b 0d 0a 76 | 61 72 20 69 6e 74 20 43 |word;..v|ar int C|
|00001be0| 6f 6e 74 65 6e 74 4c 65 | 6e 67 74 68 3b 0d 0a 76 |ontentLe|ngth;..v|
|00001bf0| 61 72 20 73 74 72 69 6e | 67 20 43 6f 6e 74 65 6e |ar strin|g Conten|
|00001c00| 74 54 79 70 65 3b 0d 0a | 76 61 72 20 45 52 65 71 |tType;..|var EReq|
|00001c10| 75 65 73 74 54 79 70 65 | 20 52 65 71 75 65 73 74 |uestType| Request|
|00001c20| 54 79 70 65 3b 0d 0a 76 | 61 72 20 70 72 69 76 61 |Type;..v|ar priva|
|00001c30| 74 65 20 6e 61 74 69 76 | 65 20 63 6f 6e 73 74 20 |te nativ|e const |
|00001c40| 69 6e 74 20 56 61 72 69 | 61 62 6c 65 4d 61 70 5b |int Vari|ableMap[|
|00001c50| 35 5d 3b 09 2f 2f 20 54 | 4d 75 6c 74 69 4d 61 70 |5];.// T|MultiMap|
|00001c60| 3c 46 53 74 72 69 6e 67 | 2c 20 46 53 74 72 69 6e |<FString|, FStrin|
|00001c70| 67 3e 21 0d 0a 0d 0a 6e | 61 74 69 76 65 20 66 69 |g>!....n|ative fi|
|00001c80| 6e 61 6c 20 66 75 6e 63 | 74 69 6f 6e 20 73 74 72 |nal func|tion str|
|00001c90| 69 6e 67 20 44 65 63 6f | 64 65 42 61 73 65 36 34 |ing Deco|deBase64|
|00001ca0| 28 73 74 72 69 6e 67 20 | 45 6e 63 6f 64 65 64 29 |(string |Encoded)|
|00001cb0| 3b 0d 0a 6e 61 74 69 76 | 65 20 66 69 6e 61 6c 20 |;..nativ|e final |
|00001cc0| 66 75 6e 63 74 69 6f 6e | 20 41 64 64 56 61 72 69 |function| AddVari|
|00001cd0| 61 62 6c 65 28 73 74 72 | 69 6e 67 20 56 61 72 69 |able(str|ing Vari|
|00001ce0| 61 62 6c 65 4e 61 6d 65 | 2c 20 73 74 72 69 6e 67 |ableName|, string|
|00001cf0| 20 56 61 6c 75 65 29 3b | 0d 0a 6e 61 74 69 76 65 | Value);|..native|
|00001d00| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|00001d10| 73 74 72 69 6e 67 20 47 | 65 74 56 61 72 69 61 62 |string G|etVariab|
|00001d20| 6c 65 28 73 74 72 69 6e | 67 20 56 61 72 69 61 62 |le(strin|g Variab|
|00001d30| 6c 65 4e 61 6d 65 2c 20 | 6f 70 74 69 6f 6e 61 6c |leName, |optional|
|00001d40| 20 73 74 72 69 6e 67 20 | 44 65 66 61 75 6c 74 56 | string |DefaultV|
|00001d50| 61 6c 75 65 29 3b 0d 0a | 6e 61 74 69 76 65 20 66 |alue);..|native f|
|00001d60| 69 6e 61 6c 20 66 75 6e | 63 74 69 6f 6e 20 69 6e |inal fun|ction in|
|00001d70| 74 20 47 65 74 56 61 72 | 69 61 62 6c 65 43 6f 75 |t GetVar|iableCou|
|00001d80| 6e 74 28 73 74 72 69 6e | 67 20 56 61 72 69 61 62 |nt(strin|g Variab|
|00001d90| 6c 65 4e 61 6d 65 29 3b | 0d 0a 6e 61 74 69 76 65 |leName);|..native|
|00001da0| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|00001db0| 73 74 72 69 6e 67 20 47 | 65 74 56 61 72 69 61 62 |string G|etVariab|
|00001dc0| 6c 65 4e 75 6d 62 65 72 | 28 73 74 72 69 6e 67 20 |leNumber|(string |
|00001dd0| 56 61 72 69 61 62 6c 65 | 4e 61 6d 65 2c 20 69 6e |Variable|Name, in|
|00001de0| 74 20 4e 75 6d 62 65 72 | 2c 20 6f 70 74 69 6f 6e |t Number|, option|
|00001df0| 61 6c 20 73 74 72 69 6e | 67 20 44 65 66 61 75 6c |al strin|g Defaul|
|00001e00| 74 56 61 6c 75 65 29 3b | 0d 0a 0d 0a 66 75 6e 63 |tValue);|....func|
|00001e10| 74 69 6f 6e 20 50 72 6f | 63 65 73 73 48 65 61 64 |tion Pro|cessHead|
|00001e20| 65 72 53 74 72 69 6e 67 | 28 73 74 72 69 6e 67 20 |erString|(string |
|00001e30| 53 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 69 6e |S)..{...|local in|
|00001e40| 74 20 69 3b 0d 0a 0d 0a | 09 69 66 28 4c 65 66 74 |t i;....|.if(Left|
|00001e50| 28 53 2c 20 32 31 29 20 | 7e 3d 20 22 41 75 74 68 |(S, 21) |~= "Auth|
|00001e60| 6f 72 69 7a 61 74 69 6f | 6e 3a 20 42 61 73 69 63 |orizatio|n: Basic|
|00001e70| 20 22 29 0d 0a 09 7b 0d | 0a 09 09 53 20 3d 20 44 | ")...{.|...S = D|
|00001e80| 65 63 6f 64 65 42 61 73 | 65 36 34 28 4d 69 64 28 |ecodeBas|e64(Mid(|
|00001e90| 53 2c 20 32 31 29 29 3b | 0d 0a 09 09 69 20 3d 20 |S, 21));|....i = |
|00001ea0| 49 6e 53 74 72 28 53 2c | 20 22 3a 22 29 3b 0d 0a |InStr(S,| ":");..|
|00001eb0| 09 09 69 66 28 69 20 21 | 3d 20 2d 31 29 0d 0a 09 |..if(i !|= -1)...|
|00001ec0| 09 7b 0d 0a 09 09 09 55 | 73 65 72 6e 61 6d 65 20 |.{.....U|sername |
|00001ed0| 3d 20 4c 65 66 74 28 53 | 2c 20 69 29 3b 0d 0a 09 |= Left(S|, i);...|
|00001ee0| 09 09 50 61 73 73 77 6f | 72 64 20 3d 20 4d 69 64 |..Passwo|rd = Mid|
|00001ef0| 28 53 2c 20 69 2b 31 29 | 3b 0d 0a 09 09 7d 0d 0a |(S, i+1)|;....}..|
|00001f00| 09 7d 0d 0a 09 65 6c 73 | 65 0d 0a 09 69 66 28 4c |.}...els|e...if(L|
|00001f10| 65 66 74 28 53 2c 20 31 | 36 29 20 7e 3d 20 22 43 |eft(S, 1|6) ~= "C|
|00001f20| 6f 6e 74 65 6e 74 2d 4c | 65 6e 67 74 68 3a 20 22 |ontent-L|ength: "|
|00001f30| 29 0d 0a 09 09 43 6f 6e | 74 65 6e 74 4c 65 6e 67 |)....Con|tentLeng|
|00001f40| 74 68 20 3d 20 49 6e 74 | 28 4d 69 64 28 53 2c 20 |th = Int|(Mid(S, |
|00001f50| 31 36 29 29 3b 0d 0a 09 | 65 6c 73 65 0d 0a 09 69 |16));...|else...i|
|00001f60| 66 28 4c 65 66 74 28 53 | 2c 20 31 34 29 20 7e 3d |f(Left(S|, 14) ~=|
|00001f70| 20 22 43 6f 6e 74 65 6e | 74 2d 54 79 70 65 3a 20 | "Conten|t-Type: |
|00001f80| 22 29 0d 0a 09 09 43 6f | 6e 74 65 6e 74 54 79 70 |")....Co|ntentTyp|
|00001f90| 65 20 3d 20 4d 69 64 28 | 53 2c 20 31 34 29 3b 0d |e = Mid(|S, 14);.|
|00001fa0| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 44 |.}....fu|nction D|
|00001fb0| 65 63 6f 64 65 46 6f 72 | 6d 44 61 74 61 28 73 74 |ecodeFor|mData(st|
|00001fc0| 72 69 6e 67 20 44 61 74 | 61 29 0d 0a 7b 0d 0a 09 |ring Dat|a)..{...|
|00001fd0| 6c 6f 63 61 6c 20 73 74 | 72 69 6e 67 20 54 6f 6b |local st|ring Tok|
|00001fe0| 65 6e 5b 32 5d 2c 20 63 | 68 3b 0d 0a 09 6c 6f 63 |en[2], c|h;...loc|
|00001ff0| 61 6c 20 69 6e 74 20 69 | 3b 0d 0a 09 6c 6f 63 61 |al int i|;...loca|
|00002000| 6c 20 69 6e 74 20 74 3b | 0d 0a 0d 0a 09 74 20 3d |l int t;|.....t =|
|00002010| 20 30 3b 0d 0a 09 66 6f | 72 28 69 3d 30 3b 69 3c | 0;...fo|r(i=0;i<|
|00002020| 4c 65 6e 28 44 61 74 61 | 29 3b 69 2b 2b 29 0d 0a |Len(Data|);i++)..|
|00002030| 09 7b 0d 0a 09 09 63 68 | 20 3d 20 6d 69 64 28 44 |.{....ch| = mid(D|
|00002040| 61 74 61 2c 20 69 2c 20 | 31 29 3b 0d 0a 09 09 73 |ata, i, |1);....s|
|00002050| 77 69 74 63 68 28 63 68 | 29 0d 0a 09 09 7b 0d 0a |witch(ch|)....{..|
|00002060| 09 09 63 61 73 65 20 22 | 2b 22 3a 0d 0a 09 09 09 |..case "|+":.....|
|00002070| 54 6f 6b 65 6e 5b 74 5d | 20 3d 20 54 6f 6b 65 6e |Token[t]| = Token|
|00002080| 5b 74 5d 24 22 20 22 3b | 0d 0a 09 09 09 62 72 65 |[t]$" ";|.....bre|
|00002090| 61 6b 3b 0d 0a 09 09 63 | 61 73 65 20 22 26 22 3a |ak;....c|ase "&":|
|000020a0| 0d 0a 09 09 63 61 73 65 | 20 22 3f 22 3a 0d 0a 09 |....case| "?":...|
|000020b0| 09 09 69 66 28 54 6f 6b | 65 6e 5b 30 5d 20 21 3d |..if(Tok|en[0] !=|
|000020c0| 20 22 22 29 0d 0a 09 09 | 09 09 41 64 64 56 61 72 | "")....|..AddVar|
|000020d0| 69 61 62 6c 65 28 54 6f | 6b 65 6e 5b 30 5d 2c 20 |iable(To|ken[0], |
|000020e0| 54 6f 6b 65 6e 5b 31 5d | 29 3b 09 09 09 0d 0a 09 |Token[1]|);......|
|000020f0| 09 09 54 6f 6b 65 6e 5b | 30 5d 20 3d 20 22 22 3b |..Token[|0] = "";|
|00002100| 0d 0a 09 09 09 54 6f 6b | 65 6e 5b 31 5d 20 3d 20 |.....Tok|en[1] = |
|00002110| 22 22 3b 0d 0a 09 09 09 | 74 20 3d 20 30 3b 0d 0a |"";.....|t = 0;..|
|00002120| 09 09 09 62 72 65 61 6b | 3b 0d 0a 09 09 63 61 73 |...break|;....cas|
|00002130| 65 20 22 3d 22 3a 0d 0a | 09 09 09 69 66 28 74 20 |e "=":..|...if(t |
|00002140| 3d 3d 20 30 29 0d 0a 09 | 09 09 09 74 20 3d 20 31 |== 0)...|...t = 1|
|00002150| 3b 0d 0a 09 09 09 65 6c | 73 65 0d 0a 09 09 09 09 |;.....el|se......|
|00002160| 54 6f 6b 65 6e 5b 74 5d | 20 3d 20 54 6f 6b 65 6e |Token[t]| = Token|
|00002170| 5b 74 5d 24 22 3d 22 3b | 0d 0a 09 09 09 62 72 65 |[t]$"=";|.....bre|
|00002180| 61 6b 3b 0d 0a 09 09 63 | 61 73 65 20 22 25 22 3a |ak;....c|ase "%":|
|00002190| 0d 0a 09 09 09 54 6f 6b | 65 6e 5b 74 5d 20 3d 20 |.....Tok|en[t] = |
|000021a0| 54 6f 6b 65 6e 5b 74 5d | 24 43 68 72 28 31 36 20 |Token[t]|$Chr(16 |
|000021b0| 2a 20 47 65 74 48 65 78 | 44 69 67 69 74 28 6d 69 |* GetHex|Digit(mi|
|000021c0| 64 28 44 61 74 61 2c 20 | 2b 2b 69 2c 20 31 29 29 |d(Data, |++i, 1))|
|000021d0| 20 2b 20 47 65 74 48 65 | 78 44 69 67 69 74 28 6d | + GetHe|xDigit(m|
|000021e0| 69 64 28 44 61 74 61 2c | 20 2b 2b 69 2c 20 31 29 |id(Data,| ++i, 1)|
|000021f0| 29 29 3b 0d 0a 09 09 09 | 62 72 65 61 6b 3b 0d 0a |));.....|break;..|
|00002200| 09 09 64 65 66 61 75 6c | 74 3a 0d 0a 09 09 09 54 |..defaul|t:.....T|
|00002210| 6f 6b 65 6e 5b 74 5d 20 | 3d 20 54 6f 6b 65 6e 5b |oken[t] |= Token[|
|00002220| 74 5d 24 63 68 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |t]$ch;..|..}...}.|
|00002230| 0a 0d 0a 09 69 66 28 54 | 6f 6b 65 6e 5b 30 5d 20 |....if(T|oken[0] |
|00002240| 21 3d 20 22 22 29 0d 0a | 09 09 41 64 64 56 61 72 |!= "")..|..AddVar|
|00002250| 69 61 62 6c 65 28 54 6f | 6b 65 6e 5b 30 5d 2c 20 |iable(To|ken[0], |
|00002260| 54 6f 6b 65 6e 5b 31 5d | 29 3b 0d 0a 7d 0d 0a 0d |Token[1]|);..}...|
|00002270| 0a 66 75 6e 63 74 69 6f | 6e 20 69 6e 74 20 47 65 |.functio|n int Ge|
|00002280| 74 48 65 78 44 69 67 69 | 74 28 73 74 72 69 6e 67 |tHexDigi|t(string|
|00002290| 20 44 29 0d 0a 7b 0d 0a | 09 73 77 69 74 63 68 28 | D)..{..|.switch(|
|000022a0| 63 61 70 73 28 44 29 29 | 0d 0a 09 7b 0d 0a 09 63 |caps(D))|...{...c|
|000022b0| 61 73 65 20 22 30 22 3a | 20 72 65 74 75 72 6e 20 |ase "0":| return |
|000022c0| 30 3b 0d 0a 09 63 61 73 | 65 20 22 31 22 3a 20 72 |0;...cas|e "1": r|
|000022d0| 65 74 75 72 6e 20 31 3b | 0d 0a 09 63 61 73 65 20 |eturn 1;|...case |
|000022e0| 22 32 22 3a 20 72 65 74 | 75 72 6e 20 32 3b 0d 0a |"2": ret|urn 2;..|
|000022f0| 09 63 61 73 65 20 22 33 | 22 3a 20 72 65 74 75 72 |.case "3|": retur|
|00002300| 6e 20 33 3b 0d 0a 09 63 | 61 73 65 20 22 34 22 3a |n 3;...c|ase "4":|
|00002310| 20 72 65 74 75 72 6e 20 | 34 3b 0d 0a 09 63 61 73 | return |4;...cas|
|00002320| 65 20 22 35 22 3a 20 72 | 65 74 75 72 6e 20 35 3b |e "5": r|eturn 5;|
|00002330| 20 0d 0a 09 63 61 73 65 | 20 22 36 22 3a 20 72 65 | ...case| "6": re|
|00002340| 74 75 72 6e 20 36 3b 20 | 0d 0a 09 63 61 73 65 20 |turn 6; |...case |
|00002350| 22 37 22 3a 20 72 65 74 | 75 72 6e 20 37 3b 20 0d |"7": ret|urn 7; .|
|00002360| 0a 09 63 61 73 65 20 22 | 38 22 3a 20 72 65 74 75 |..case "|8": retu|
|00002370| 72 6e 20 38 3b 20 0d 0a | 09 63 61 73 65 20 22 39 |rn 8; ..|.case "9|
|00002380| 22 3a 20 72 65 74 75 72 | 6e 20 39 3b 20 0d 0a 09 |": retur|n 9; ...|
|00002390| 63 61 73 65 20 22 41 22 | 3a 20 72 65 74 75 72 6e |case "A"|: return|
|000023a0| 20 31 30 3b 20 0d 0a 09 | 63 61 73 65 20 22 42 22 | 10; ...|case "B"|
|000023b0| 3a 20 72 65 74 75 72 6e | 20 31 31 3b 20 0d 0a 09 |: return| 11; ...|
|000023c0| 63 61 73 65 20 22 43 22 | 3a 20 72 65 74 75 72 6e |case "C"|: return|
|000023d0| 20 31 32 3b 20 0d 0a 09 | 63 61 73 65 20 22 44 22 | 12; ...|case "D"|
|000023e0| 3a 20 72 65 74 75 72 6e | 20 31 33 3b 20 0d 0a 09 |: return| 13; ...|
|000023f0| 63 61 73 65 20 22 45 22 | 3a 20 72 65 74 75 72 6e |case "E"|: return|
|00002400| 20 31 34 3b 20 0d 0a 09 | 63 61 73 65 20 22 46 22 | 14; ...|case "F"|
|00002410| 3a 20 72 65 74 75 72 6e | 20 31 35 3b 20 0d 0a 09 |: return| 15; ...|
|00002420| 7d 0d 0a 0d 0a 09 72 65 | 74 75 72 6e 20 30 3b 0d |}.....re|turn 0;.|
|00002430| 0a 7d 0d 0a 0d 0a 00 44 | 03 00 74 01 00 61 01 30 |.}.....D|..t..a.0|
|00002440| 00 00 00 00 2e 00 00 00 | c1 05 00 00 2c 00 00 00 |........|....,...|
|00002450| 07 1f 00 81 2d 01 21 16 | 1b 09 00 62 01 27 16 14 |....-.!.|...b.'..|
|00002460| 2d 01 21 27 1c 3d 00 61 | 01 16 04 0b 00 00 00 02 |-.!'.=.a|........|
|00002470| 00 02 00 44 03 00 75 01 | 00 5e 01 1a 00 00 00 00 |...D..u.|.^......|
|00002480| 29 00 00 00 4f 05 00 00 | 1b 00 00 00 19 01 13 10 |)...O...|........|
|00002490| 00 04 1b 1a 00 5e 01 00 | 5f 01 16 04 0b 00 00 00 |.....^..|_.......|
|000024a0| 02 08 02 00 44 03 00 6c | 01 00 36 01 00 00 00 00 |....D..l|..6.....|
|000024b0| 1b 00 00 00 72 04 00 00 | 5b 00 00 00 07 19 00 81 |....r...|[.......|
|000024c0| 2d 01 21 16 1b 09 16 14 | 2d 01 21 27 07 39 00 2d |-.!.....|-.!'.9.-|
|000024d0| 00 5c 01 19 01 13 0b 00 | 04 1b 01 00 36 16 06 59 |.\......|....6..Y|
|000024e0| 00 19 01 13 17 00 04 1b | 01 70 70 00 36 ec 2c 0d |........|.pp.6.,.|
|000024f0| 16 16 ec 2c 0a 16 16 16 | 04 0b 00 00 00 02 08 02 |...,....|........|
|00002500| 00 44 03 00 00 01 00 00 | 00 80 05 40 00 44 03 44 |.D......|...@.D.D|
|00002510| 03 00 00 00 00 00 00 00 | 00 7a 37 2f 2a 3d 3d 3d |........|.z7/*===|
|00002520| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002530| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002540| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002550| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002560| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 09 57 65 62 |========|==...Web|
|00002570| 52 65 73 70 6f 6e 73 65 | 20 69 73 20 75 73 65 64 |Response| is used|
|00002580| 20 62 79 20 57 65 62 41 | 70 70 6c 69 63 61 74 69 | by WebA|pplicati|
|00002590| 6f 6e 20 74 6f 20 68 61 | 6e 64 6c 65 20 6d 6f 73 |on to ha|ndle mos|
|000025a0| 74 20 61 73 70 65 63 74 | 73 20 6f 66 20 73 65 6e |t aspect|s of sen|
|000025b0| 64 69 6e 67 0d 0a 09 68 | 74 74 70 20 69 6e 66 6f |ding...h|ttp info|
|000025c0| 72 6d 61 74 69 6f 6e 20 | 74 6f 20 74 68 65 20 63 |rmation |to the c|
|000025d0| 6c 69 65 6e 74 2e 20 49 | 74 20 73 65 72 76 65 73 |lient. I|t serves|
|000025e0| 20 61 73 20 61 20 62 72 | 69 64 67 65 20 62 65 74 | as a br|idge bet|
|000025f0| 77 65 65 6e 20 57 65 62 | 41 70 70 6c 69 63 61 74 |ween Web|Applicat|
|00002600| 69 6f 6e 0d 0a 09 61 6e | 64 20 57 65 62 43 6f 6e |ion...an|d WebCon|
|00002610| 6e 65 63 74 69 6f 6e 2e | 0d 0a 3d 3d 3d 3d 3d 3d |nection.|..======|
|00002620| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002630| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002640| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002650| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002660| 3d 3d 3d 3d 3d 3d 3d 2a | 2f 0d 0a 0d 0a 63 6c 61 |=======*|/....cla|
|00002670| 73 73 20 57 65 62 52 65 | 73 70 6f 6e 73 65 20 65 |ss WebRe|sponse e|
|00002680| 78 74 65 6e 64 73 20 4f | 62 6a 65 63 74 0d 0a 09 |xtends O|bject...|
|00002690| 6e 61 74 69 76 65 0d 0a | 09 6e 6f 65 78 70 6f 72 |native..|.noexpor|
|000026a0| 74 3b 0d 0a 0d 0a 76 61 | 72 20 70 72 69 76 61 74 |t;....va|r privat|
|000026b0| 65 20 6e 61 74 69 76 65 | 20 63 6f 6e 73 74 20 69 |e native| const i|
|000026c0| 6e 74 20 09 52 65 70 6c | 61 63 65 6d 65 6e 74 4d |nt .Repl|acementM|
|000026d0| 61 70 5b 35 5d 3b 0d 0a | 76 61 72 20 63 6f 6e 73 |ap[5];..|var cons|
|000026e0| 74 20 63 6f 6e 66 69 67 | 20 73 74 72 69 6e 67 20 |t config| string |
|000026f0| 09 09 49 6e 63 6c 75 64 | 65 50 61 74 68 3b 0d 0a |..Includ|ePath;..|
|00002700| 76 61 72 20 6c 6f 63 61 | 6c 69 7a 65 64 20 73 74 |var loca|lized st|
|00002710| 72 69 6e 67 20 09 09 09 | 43 68 61 72 53 65 74 3b |ring ...|CharSet;|
|00002720| 0d 0a 76 61 72 20 57 65 | 62 43 6f 6e 6e 65 63 74 |..var We|bConnect|
|00002730| 69 6f 6e 20 09 09 09 09 | 43 6f 6e 6e 65 63 74 69 |ion ....|Connecti|
|00002740| 6f 6e 3b 0d 0a 76 61 72 | 20 62 6f 6f 6c 20 09 09 |on;..var| bool ..|
|00002750| 09 09 09 09 62 53 65 6e | 74 54 65 78 74 3b 20 2f |....bSen|tText; /|
|00002760| 2f 20 75 73 65 64 20 74 | 6f 20 77 61 72 6e 20 68 |/ used t|o warn h|
|00002770| 65 61 64 65 72 73 20 61 | 6c 72 65 61 64 79 20 73 |eaders a|lready s|
|00002780| 65 6e 74 0d 0a 76 61 72 | 20 62 6f 6f 6c 20 09 09 |ent..var| bool ..|
|00002790| 09 09 09 09 62 53 65 6e | 74 52 65 73 70 6f 6e 73 |....bSen|tRespons|
|000027a0| 65 3b 0d 0a 0d 0a 6e 61 | 74 69 76 65 20 66 69 6e |e;....na|tive fin|
|000027b0| 61 6c 20 66 75 6e 63 74 | 69 6f 6e 20 09 09 09 53 |al funct|ion ...S|
|000027c0| 75 62 73 74 28 73 74 72 | 69 6e 67 20 56 61 72 69 |ubst(str|ing Vari|
|000027d0| 61 62 6c 65 2c 20 73 74 | 72 69 6e 67 20 56 61 6c |able, st|ring Val|
|000027e0| 75 65 2c 20 6f 70 74 69 | 6f 6e 61 6c 20 62 6f 6f |ue, opti|onal boo|
|000027f0| 6c 20 62 43 6c 65 61 72 | 29 3b 0d 0a 6e 61 74 69 |l bClear|);..nati|
|00002800| 76 65 20 66 69 6e 61 6c | 20 66 75 6e 63 74 69 6f |ve final| functio|
|00002810| 6e 20 09 09 09 43 6c 65 | 61 72 53 75 62 73 74 28 |n ...Cle|arSubst(|
|00002820| 29 3b 0d 0a 6e 61 74 69 | 76 65 20 66 69 6e 61 6c |);..nati|ve final|
|00002830| 20 66 75 6e 63 74 69 6f | 6e 20 09 09 09 49 6e 63 | functio|n ...Inc|
|00002840| 6c 75 64 65 55 48 54 4d | 28 73 74 72 69 6e 67 20 |ludeUHTM|(string |
|00002850| 46 69 6c 65 6e 61 6d 65 | 29 3b 0d 0a 6e 61 74 69 |Filename|);..nati|
|00002860| 76 65 20 66 69 6e 61 6c | 20 66 75 6e 63 74 69 6f |ve final| functio|
|00002870| 6e 20 09 09 09 49 6e 63 | 6c 75 64 65 42 69 6e 61 |n ...Inc|ludeBina|
|00002880| 72 79 46 69 6c 65 28 73 | 74 72 69 6e 67 20 46 69 |ryFile(s|tring Fi|
|00002890| 6c 65 6e 61 6d 65 29 3b | 0d 0a 6e 61 74 69 76 65 |lename);|..native|
|000028a0| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|000028b0| 73 74 72 69 6e 67 20 09 | 4c 6f 61 64 50 61 72 73 |string .|LoadPars|
|000028c0| 65 64 55 48 54 4d 28 73 | 74 72 69 6e 67 20 46 69 |edUHTM(s|tring Fi|
|000028d0| 6c 65 6e 61 6d 65 29 3b | 20 2f 2f 20 46 6f 72 20 |lename);| // For |
|000028e0| 74 65 6d 70 6c 61 74 65 | 64 20 77 65 62 20 69 74 |template|d web it|
|000028f0| 65 6d 73 2c 20 75 73 65 | 73 20 53 75 62 73 74 20 |ems, use|s Subst |
|00002900| 74 6f 6f 0d 0a 6e 61 74 | 69 76 65 20 66 69 6e 61 |too..nat|ive fina|
|00002910| 6c 20 66 75 6e 63 74 69 | 6f 6e 20 73 74 72 69 6e |l functi|on strin|
|00002920| 67 20 09 47 65 74 48 54 | 54 50 45 78 70 69 72 61 |g .GetHT|TPExpira|
|00002930| 74 69 6f 6e 28 6f 70 74 | 69 6f 6e 61 6c 20 69 6e |tion(opt|ional in|
|00002940| 74 20 4f 66 66 73 65 74 | 53 65 63 6f 6e 64 73 29 |t Offset|Seconds)|
|00002950| 3b 0d 0a 0d 0a 65 76 65 | 6e 74 20 53 65 6e 64 54 |;....eve|nt SendT|
|00002960| 65 78 74 28 73 74 72 69 | 6e 67 20 54 65 78 74 2c |ext(stri|ng Text,|
|00002970| 20 6f 70 74 69 6f 6e 61 | 6c 20 62 6f 6f 6c 20 62 | optiona|l bool b|
|00002980| 4e 6f 43 52 4c 46 29 0d | 0a 7b 0d 0a 09 69 66 28 |NoCRLF).|.{...if(|
|00002990| 21 62 53 65 6e 74 54 65 | 78 74 29 0d 0a 09 7b 0d |!bSentTe|xt)...{.|
|000029a0| 0a 09 09 53 65 6e 64 53 | 74 61 6e 64 61 72 64 48 |...SendS|tandardH|
|000029b0| 65 61 64 65 72 73 28 29 | 3b 0d 0a 09 09 62 53 65 |eaders()|;....bSe|
|000029c0| 6e 74 54 65 78 74 20 3d | 20 54 72 75 65 3b 0d 0a |ntText =| True;..|
|000029d0| 09 7d 0d 0a 0d 0a 09 69 | 66 28 62 4e 6f 43 52 4c |.}.....i|f(bNoCRL|
|000029e0| 46 29 0d 0a 09 09 43 6f | 6e 6e 65 63 74 69 6f 6e |F)....Co|nnection|
|000029f0| 2e 53 65 6e 64 54 65 78 | 74 28 54 65 78 74 29 3b |.SendTex|t(Text);|
|00002a00| 0d 0a 09 65 6c 73 65 0d | 0a 09 09 43 6f 6e 6e 65 |...else.|...Conne|
|00002a10| 63 74 69 6f 6e 2e 53 65 | 6e 64 54 65 78 74 28 54 |ction.Se|ndText(T|
|00002a20| 65 78 74 24 43 68 72 28 | 31 33 29 24 43 68 72 28 |ext$Chr(|13)$Chr(|
|00002a30| 31 30 29 29 3b 0d 0a 7d | 0d 0a 0d 0a 65 76 65 6e |10));..}|....even|
|00002a40| 74 20 53 65 6e 64 42 69 | 6e 61 72 79 28 69 6e 74 |t SendBi|nary(int|
|00002a50| 20 43 6f 75 6e 74 2c 20 | 62 79 74 65 20 42 5b 32 | Count, |byte B[2|
|00002a60| 35 35 5d 29 0d 0a 7b 0d | 0a 09 43 6f 6e 6e 65 63 |55])..{.|..Connec|
|00002a70| 74 69 6f 6e 2e 53 65 6e | 64 42 69 6e 61 72 79 28 |tion.Sen|dBinary(|
|00002a80| 43 6f 75 6e 74 2c 20 42 | 29 3b 0d 0a 7d 0d 0a 0d |Count, B|);..}...|
|00002a90| 0a 66 75 6e 63 74 69 6f | 6e 20 53 65 6e 64 43 61 |.functio|n SendCa|
|00002aa0| 63 68 65 64 46 69 6c 65 | 28 73 74 72 69 6e 67 20 |chedFile|(string |
|00002ab0| 46 69 6c 65 6e 61 6d 65 | 2c 20 6f 70 74 69 6f 6e |Filename|, option|
|00002ac0| 61 6c 20 73 74 72 69 6e | 67 20 43 6f 6e 74 65 6e |al strin|g Conten|
|00002ad0| 74 54 79 70 65 29 0d 0a | 7b 0d 0a 09 69 66 28 21 |tType)..|{...if(!|
|00002ae0| 62 53 65 6e 74 54 65 78 | 74 29 0d 0a 09 7b 0d 0a |bSentTex|t)...{..|
|00002af0| 09 09 53 65 6e 64 53 74 | 61 6e 64 61 72 64 48 65 |..SendSt|andardHe|
|00002b00| 61 64 65 72 73 28 43 6f | 6e 74 65 6e 74 54 79 70 |aders(Co|ntentTyp|
|00002b10| 65 2c 20 74 72 75 65 29 | 3b 0d 0a 09 09 62 53 65 |e, true)|;....bSe|
|00002b20| 6e 74 54 65 78 74 20 3d | 20 54 72 75 65 3b 0d 0a |ntText =| True;..|
|00002b30| 09 7d 0d 0a 09 49 6e 63 | 6c 75 64 65 55 48 54 4d |.}...Inc|ludeUHTM|
|00002b40| 28 46 69 6c 65 6e 61 6d | 65 29 3b 0d 0a 7d 0d 0a |(Filenam|e);..}..|
|00002b50| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 46 61 69 6c 41 |..functi|on FailA|
|00002b60| 75 74 68 65 6e 74 69 63 | 61 74 69 6f 6e 28 73 74 |uthentic|ation(st|
|00002b70| 72 69 6e 67 20 52 65 61 | 6c 6d 29 0d 0a 7b 0d 0a |ring Rea|lm)..{..|
|00002b80| 09 48 54 54 50 45 72 72 | 6f 72 28 34 30 31 2c 20 |.HTTPErr|or(401, |
|00002b90| 52 65 61 6c 6d 29 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |Realm);.|.}....fu|
|00002ba0| 6e 63 74 69 6f 6e 20 48 | 54 54 50 52 65 73 70 6f |nction H|TTPRespo|
|00002bb0| 6e 73 65 28 73 74 72 69 | 6e 67 20 48 65 61 64 65 |nse(stri|ng Heade|
|00002bc0| 72 29 0d 0a 7b 0d 0a 09 | 48 54 54 50 48 65 61 64 |r)..{...|HTTPHead|
|00002bd0| 65 72 28 48 65 61 64 65 | 72 29 3b 0d 0a 09 62 53 |er(Heade|r);...bS|
|00002be0| 65 6e 74 52 65 73 70 6f | 6e 73 65 20 3d 20 54 72 |entRespo|nse = Tr|
|00002bf0| 75 65 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |ue;..}..|..functi|
|00002c00| 6f 6e 20 48 54 54 50 48 | 65 61 64 65 72 28 73 74 |on HTTPH|eader(st|
|00002c10| 72 69 6e 67 20 48 65 61 | 64 65 72 29 0d 0a 7b 0d |ring Hea|der)..{.|
|00002c20| 0a 09 69 66 28 62 53 65 | 6e 74 54 65 78 74 29 0d |..if(bSe|ntText).|
|00002c30| 0a 09 09 4c 6f 67 28 22 | 43 61 6e 27 74 20 73 65 |...Log("|Can't se|
|00002c40| 6e 64 20 68 65 61 64 65 | 72 73 20 2d 20 61 6c 72 |nd heade|rs - alr|
|00002c50| 65 61 64 79 20 63 61 6c | 6c 65 64 20 53 65 6e 64 |eady cal|led Send|
|00002c60| 54 65 78 74 28 29 22 29 | 3b 0d 0a 0d 0a 09 43 6f |Text()")|;.....Co|
|00002c70| 6e 6e 65 63 74 69 6f 6e | 2e 53 65 6e 64 54 65 78 |nnection|.SendTex|
|00002c80| 74 28 48 65 61 64 65 72 | 24 43 68 72 28 31 33 29 |t(Header|$Chr(13)|
|00002c90| 24 43 68 72 28 31 30 29 | 29 3b 0d 0a 7d 0d 0a 0d |$Chr(10)|);..}...|
|00002ca0| 0a 66 75 6e 63 74 69 6f | 6e 20 48 54 54 50 45 72 |.functio|n HTTPEr|
|00002cb0| 72 6f 72 28 69 6e 74 20 | 45 72 72 6f 72 4e 75 6d |ror(int |ErrorNum|
|00002cc0| 2c 20 6f 70 74 69 6f 6e | 61 6c 20 73 74 72 69 6e |, option|al strin|
|00002cd0| 67 20 44 61 74 61 29 0d | 0a 7b 0d 0a 09 73 77 69 |g Data).|.{...swi|
|00002ce0| 74 63 68 28 45 72 72 6f | 72 4e 75 6d 29 0d 0a 09 |tch(Erro|rNum)...|
|00002cf0| 7b 0d 0a 09 63 61 73 65 | 20 34 30 30 3a 0d 0a 09 |{...case| 400:...|
|00002d00| 09 48 54 54 50 52 65 73 | 70 6f 6e 73 65 28 22 48 |.HTTPRes|ponse("H|
|00002d10| 54 54 50 2f 31 2e 31 20 | 34 30 30 20 42 61 64 20 |TTP/1.1 |400 Bad |
|00002d20| 52 65 71 75 65 73 74 22 | 29 3b 0d 0a 09 09 53 65 |Request"|);....Se|
|00002d30| 6e 64 54 65 78 74 28 22 | 3c 54 49 54 4c 45 3e 34 |ndText("|<TITLE>4|
|00002d40| 30 30 20 42 61 64 20 52 | 65 71 75 65 73 74 3c 2f |00 Bad R|equest</|
|00002d50| 54 49 54 4c 45 3e 3c 48 | 31 3e 34 30 30 20 42 61 |TITLE><H|1>400 Ba|
|00002d60| 64 20 52 65 71 75 65 73 | 74 3c 2f 48 31 3e 49 66 |d Reques|t</H1>If|
|00002d70| 20 79 6f 75 20 67 6f 74 | 20 74 68 69 73 20 65 72 | you got| this er|
|00002d80| 72 6f 72 20 66 72 6f 6d | 20 61 20 73 74 61 6e 64 |ror from| a stand|
|00002d90| 61 72 64 20 77 65 62 20 | 62 72 6f 77 73 65 72 2c |ard web |browser,|
|00002da0| 20 70 6c 65 61 73 65 20 | 6d 61 69 6c 20 6a 61 63 | please |mail jac|
|00002db0| 6b 40 65 70 69 63 67 61 | 6d 65 73 2e 63 6f 6d 20 |k@epicga|mes.com |
|00002dc0| 61 6e 64 20 73 75 62 6d | 69 74 20 61 20 62 75 67 |and subm|it a bug|
|00002dd0| 20 72 65 70 6f 72 74 2e | 22 29 3b 0d 0a 09 09 62 | report.|");....b|
|00002de0| 72 65 61 6b 3b 0d 0a 09 | 63 61 73 65 20 34 30 31 |reak;...|case 401|
|00002df0| 3a 0d 0a 09 09 48 54 54 | 50 52 65 73 70 6f 6e 73 |:....HTT|PRespons|
|00002e00| 65 28 22 48 54 54 50 2f | 31 2e 31 20 34 30 31 20 |e("HTTP/|1.1 401 |
|00002e10| 55 6e 61 75 74 68 6f 72 | 69 7a 65 64 22 29 3b 0d |Unauthor|ized");.|
|00002e20| 0a 09 09 48 54 54 50 48 | 65 61 64 65 72 28 22 57 |...HTTPH|eader("W|
|00002e30| 57 57 2d 61 75 74 68 65 | 6e 74 69 63 61 74 65 3a |WW-authe|nticate:|
|00002e40| 20 62 61 73 69 63 20 72 | 65 61 6c 6d 3d 5c 22 22 | basic r|ealm=\""|
|00002e50| 24 44 61 74 61 24 22 5c | 22 22 29 3b 0d 0a 09 09 |$Data$"\|"");....|
|00002e60| 53 65 6e 64 54 65 78 74 | 28 22 3c 54 49 54 4c 45 |SendText|("<TITLE|
|00002e70| 3e 34 30 31 20 55 6e 61 | 75 74 68 6f 72 69 7a 65 |>401 Una|uthorize|
|00002e80| 64 3c 2f 54 49 54 4c 45 | 3e 3c 48 31 3e 34 30 31 |d</TITLE|><H1>401|
|00002e90| 20 55 6e 61 75 74 68 6f | 72 69 7a 65 64 3c 2f 48 | Unautho|rized</H|
|00002ea0| 31 3e 22 29 3b 0d 0a 09 | 09 62 72 65 61 6b 3b 0d |1>");...|.break;.|
|00002eb0| 0a 09 63 61 73 65 20 34 | 30 34 3a 0d 0a 09 09 48 |..case 4|04:....H|
|00002ec0| 54 54 50 52 65 73 70 6f | 6e 73 65 28 22 48 54 54 |TTPRespo|nse("HTT|
|00002ed0| 50 2f 31 2e 31 20 34 30 | 34 20 4f 62 6a 65 63 74 |P/1.1 40|4 Object|
|00002ee0| 20 4e 6f 74 20 46 6f 75 | 6e 64 22 29 3b 0d 0a 09 | Not Fou|nd");...|
|00002ef0| 09 53 65 6e 64 54 65 78 | 74 28 22 3c 54 49 54 4c |.SendTex|t("<TITL|
|00002f00| 45 3e 34 30 34 20 46 69 | 6c 65 20 4e 6f 74 20 46 |E>404 Fi|le Not F|
|00002f10| 6f 75 6e 64 3c 2f 54 49 | 54 4c 45 3e 3c 48 31 3e |ound</TI|TLE><H1>|
|00002f20| 34 30 34 20 46 69 6c 65 | 20 4e 6f 74 20 46 6f 75 |404 File| Not Fou|
|00002f30| 6e 64 3c 2f 48 31 3e 54 | 68 65 20 55 52 4c 20 79 |nd</H1>T|he URL y|
|00002f40| 6f 75 20 72 65 71 75 65 | 73 74 65 64 20 77 61 73 |ou reque|sted was|
|00002f50| 20 6e 6f 74 20 66 6f 75 | 6e 64 2e 22 29 3b 0d 0a | not fou|nd.");..|
|00002f60| 09 09 62 72 65 61 6b 3b | 0d 0a 09 64 65 66 61 75 |..break;|...defau|
|00002f70| 6c 74 3a 0d 0a 09 09 62 | 72 65 61 6b 3b 0d 0a 09 |lt:....b|reak;...|
|00002f80| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|00002f90| 20 53 65 6e 64 53 74 61 | 6e 64 61 72 64 48 65 61 | SendSta|ndardHea|
|00002fa0| 64 65 72 73 28 20 6f 70 | 74 69 6f 6e 61 6c 20 73 |ders( op|tional s|
|00002fb0| 74 72 69 6e 67 20 43 6f | 6e 74 65 6e 74 54 79 70 |tring Co|ntentTyp|
|00002fc0| 65 2c 20 6f 70 74 69 6f | 6e 61 6c 20 62 6f 6f 6c |e, optio|nal bool|
|00002fd0| 20 62 43 61 63 68 65 20 | 29 0d 0a 7b 0d 0a 09 69 | bCache |)..{...i|
|00002fe0| 66 28 43 6f 6e 74 65 6e | 74 54 79 70 65 20 3d 3d |f(Conten|tType ==|
|00002ff0| 20 22 22 29 0d 0a 09 09 | 43 6f 6e 74 65 6e 74 54 | "")....|ContentT|
|00003000| 79 70 65 20 3d 20 22 74 | 65 78 74 2f 68 74 6d 6c |ype = "t|ext/html|
|00003010| 22 3b 0d 0a 09 69 66 28 | 21 62 53 65 6e 74 52 65 |";...if(|!bSentRe|
|00003020| 73 70 6f 6e 73 65 29 0d | 0a 09 09 48 54 54 50 52 |sponse).|...HTTPR|
|00003030| 65 73 70 6f 6e 73 65 28 | 22 48 54 54 50 2f 31 2e |esponse(|"HTTP/1.|
|00003040| 31 20 32 30 30 20 4f 4b | 22 29 3b 0d 0a 09 48 54 |1 200 OK|");...HT|
|00003050| 54 50 48 65 61 64 65 72 | 28 22 53 65 72 76 65 72 |TPHeader|("Server|
|00003060| 3a 20 55 6e 72 65 61 6c | 45 6e 67 69 6e 65 20 55 |: Unreal|Engine U|
|00003070| 57 65 62 20 57 65 62 20 | 53 65 72 76 65 72 20 42 |Web Web |Server B|
|00003080| 75 69 6c 64 20 22 24 43 | 6f 6e 6e 65 63 74 69 6f |uild "$C|onnectio|
|00003090| 6e 2e 4c 65 76 65 6c 2e | 45 6e 67 69 6e 65 56 65 |n.Level.|EngineVe|
|000030a0| 72 73 69 6f 6e 29 3b 0d | 0a 09 48 54 54 50 48 65 |rsion);.|..HTTPHe|
|000030b0| 61 64 65 72 28 22 43 6f | 6e 74 65 6e 74 2d 54 79 |ader("Co|ntent-Ty|
|000030c0| 70 65 3a 20 22 24 43 6f | 6e 74 65 6e 74 54 79 70 |pe: "$Co|ntentTyp|
|000030d0| 65 29 3b 0d 0a 09 69 66 | 20 28 62 43 61 63 68 65 |e);...if| (bCache|
|000030e0| 29 0d 0a 09 7b 0d 0a 09 | 09 48 54 54 50 48 65 61 |)...{...|.HTTPHea|
|000030f0| 64 65 72 28 22 43 61 63 | 68 65 2d 43 6f 6e 74 72 |der("Cac|he-Contr|
|00003100| 6f 6c 3a 20 6d 61 78 2d | 61 67 65 3d 22 24 43 6f |ol: max-|age="$Co|
|00003110| 6e 6e 65 63 74 69 6f 6e | 2e 57 65 62 53 65 72 76 |nnection|.WebServ|
|00003120| 65 72 2e 45 78 70 69 72 | 61 74 69 6f 6e 53 65 63 |er.Expir|ationSec|
|00003130| 6f 6e 64 73 29 3b 0d 0a | 09 09 2f 2f 20 4e 65 65 |onds);..|..// Nee|
|00003140| 64 20 74 6f 20 63 6f 6d | 70 75 74 65 20 61 6e 20 |d to com|pute an |
|00003150| 45 78 70 69 72 65 73 3a | 20 74 61 67 20 2e 2e 2e |Expires:| tag ...|
|00003160| 2e 20 61 72 72 67 67 67 | 67 68 68 68 0d 0a 09 09 |. arrggg|ghhh....|
|00003170| 48 54 54 50 48 65 61 64 | 65 72 28 22 45 78 70 69 |HTTPHead|er("Expi|
|00003180| 72 65 73 3a 22 40 47 65 | 74 48 54 54 50 45 78 70 |res:"@Ge|tHTTPExp|
|00003190| 69 72 61 74 69 6f 6e 28 | 43 6f 6e 6e 65 63 74 69 |iration(|Connecti|
|000031a0| 6f 6e 2e 57 65 62 53 65 | 72 76 65 72 2e 45 78 70 |on.WebSe|rver.Exp|
|000031b0| 69 72 61 74 69 6f 6e 53 | 65 63 6f 6e 64 73 29 29 |irationS|econds))|
|000031c0| 3b 0d 0a 09 7d 0d 0a 09 | 48 54 54 50 48 65 61 64 |;...}...|HTTPHead|
|000031d0| 65 72 28 22 43 6f 6e 6e | 65 63 74 69 6f 6e 3a 20 |er("Conn|ection: |
|000031e0| 43 6c 6f 73 65 22 29 3b | 0d 0a 09 48 54 54 50 48 |Close");|...HTTPH|
|000031f0| 65 61 64 65 72 28 22 22 | 29 3b 0d 0a 7d 0d 0a 0d |eader(""|);..}...|
|00003200| 0a 66 75 6e 63 74 69 6f | 6e 20 52 65 64 69 72 65 |.functio|n Redire|
|00003210| 63 74 28 73 74 72 69 6e | 67 20 55 52 4c 29 0d 0a |ct(strin|g URL)..|
|00003220| 7b 0d 0a 09 48 54 54 50 | 52 65 73 70 6f 6e 73 65 |{...HTTP|Response|
|00003230| 28 22 48 54 54 50 2f 31 | 2e 31 20 33 30 32 20 44 |("HTTP/1|.1 302 D|
|00003240| 6f 63 75 6d 65 6e 74 20 | 4d 6f 76 65 64 22 29 3b |ocument |Moved");|
|00003250| 0d 0a 09 48 54 54 50 48 | 65 61 64 65 72 28 22 4c |...HTTPH|eader("L|
|00003260| 6f 63 61 74 69 6f 6e 3a | 20 22 24 55 52 4c 29 3b |ocation:| "$URL);|
|00003270| 0d 0a 09 53 65 6e 64 54 | 65 78 74 28 22 3c 68 65 |...SendT|ext("<he|
|00003280| 61 64 3e 3c 74 69 74 6c | 65 3e 44 6f 63 75 6d 65 |ad><titl|e>Docume|
|00003290| 6e 74 20 4d 6f 76 65 64 | 3c 2f 74 69 74 6c 65 3e |nt Moved|</title>|
|000032a0| 3c 2f 68 65 61 64 3e 22 | 29 3b 0d 0a 09 53 65 6e |</head>"|);...Sen|
|000032b0| 64 54 65 78 74 28 22 3c | 62 6f 64 79 3e 3c 68 31 |dText("<|body><h1|
|000032c0| 3e 4f 62 6a 65 63 74 20 | 4d 6f 76 65 64 3c 2f 68 |>Object |Moved</h|
|000032d0| 31 3e 54 68 69 73 20 64 | 6f 63 75 6d 65 6e 74 20 |1>This d|ocument |
|000032e0| 6d 61 79 20 62 65 20 66 | 6f 75 6e 64 20 3c 61 20 |may be f|ound <a |
|000032f0| 48 52 45 46 3d 5c 22 22 | 24 55 52 4c 24 22 5c 22 |HREF=\""|$URL$"\"|
|00003300| 3e 68 65 72 65 3c 2f 61 | 3e 2e 22 29 3b 0d 0a 7d |>here</a|>.");..}|
|00003310| 0d 0a 0d 0a 00 44 03 00 | 63 01 05 00 00 00 02 10 |.....D..|c.......|
|00003320| 00 00 44 03 44 03 00 00 | 01 00 00 00 80 05 40 00 |..D.D...|......@.|
|00003330| 44 03 44 03 00 52 01 00 | 55 01 2e 00 00 00 00 16 |D.D..R..|U.......|
|00003340| 00 00 00 bc 03 00 00 06 | 00 00 00 29 55 01 0b 00 |........|...)U...|
|00003350| 00 00 01 04 02 00 44 03 | 00 00 01 00 00 00 80 05 |......D.|........|
|00003360| 40 00 44 03 44 03 00 2b | 00 00 2a 00 00 00 00 13 |@.D.D..+|..*.....|
|00003370| 00 00 00 06 03 00 00 01 | 00 00 00 0b 00 00 00 01 |........|........|
|00003380| 04 02 00 44 03 00 00 00 | 00 00 00 00 00 41 32 2f |...D....|.....A2/|
|00003390| 2a 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |*=======|========|
|000033a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000033b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000033c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000033d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0d 0a |========|======..|
|000033e0| 09 57 65 62 53 65 72 76 | 65 72 20 69 73 20 72 65 |.WebServ|er is re|
|000033f0| 73 70 6f 6e 73 69 62 6c | 65 20 66 6f 72 20 6c 69 |sponsibl|e for li|
|00003400| 73 74 65 6e 69 6e 67 20 | 74 6f 20 72 65 71 75 65 |stening |to reque|
|00003410| 73 74 73 20 6f 6e 20 74 | 68 65 20 73 65 6c 65 63 |sts on t|he selec|
|00003420| 74 65 64 20 68 74 74 70 | 0d 0a 09 70 6f 72 74 20 |ted http|...port |
|00003430| 61 6e 64 20 77 69 6c 6c | 20 67 75 69 64 65 20 72 |and will| guide r|
|00003440| 65 71 75 65 73 74 73 20 | 74 6f 20 74 68 65 20 63 |equests |to the c|
|00003450| 6f 72 72 65 63 74 20 61 | 70 70 6c 69 63 61 74 69 |orrect a|pplicati|
|00003460| 6f 6e 2e 0d 0a 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |on...===|========|
|00003470| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003480| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003490| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000034a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000034b0| 3d 3d 2a 2f 0d 0a 0d 0a | 63 6c 61 73 73 20 57 65 |==*/....|class We|
|000034c0| 62 53 65 72 76 65 72 20 | 65 78 74 65 6e 64 73 20 |bServer |extends |
|000034d0| 54 63 70 4c 69 6e 6b 3b | 0d 0a 0d 0a 76 61 72 20 |TcpLink;|....var |
|000034e0| 63 6f 6e 66 69 67 20 73 | 74 72 69 6e 67 20 09 53 |config s|tring .S|
|000034f0| 65 72 76 65 72 4e 61 6d | 65 3b 0d 0a 76 61 72 20 |erverNam|e;..var |
|00003500| 63 6f 6e 66 69 67 20 73 | 74 72 69 6e 67 20 09 41 |config s|tring .A|
|00003510| 70 70 6c 69 63 61 74 69 | 6f 6e 73 5b 31 30 5d 3b |pplicati|ons[10];|
|00003520| 0d 0a 76 61 72 20 63 6f | 6e 66 69 67 20 73 74 72 |..var co|nfig str|
|00003530| 69 6e 67 20 09 41 70 70 | 6c 69 63 61 74 69 6f 6e |ing .App|lication|
|00003540| 50 61 74 68 73 5b 31 30 | 5d 3b 0d 0a 76 61 72 20 |Paths[10|];..var |
|00003550| 63 6f 6e 66 69 67 20 62 | 6f 6f 6c 20 09 62 45 6e |config b|ool .bEn|
|00003560| 61 62 6c 65 64 3b 0d 0a | 76 61 72 20 63 6f 6e 66 |abled;..|var conf|
|00003570| 69 67 20 69 6e 74 20 09 | 09 4c 69 73 74 65 6e 50 |ig int .|.ListenP|
|00003580| 6f 72 74 3b 0d 0a 76 61 | 72 20 63 6f 6e 66 69 67 |ort;..va|r config|
|00003590| 20 69 6e 74 20 09 09 4d | 61 78 43 6f 6e 6e 65 63 | int ..M|axConnec|
|000035a0| 74 69 6f 6e 73 3b 0d 0a | 76 61 72 20 63 6f 6e 66 |tions;..|var conf|
|000035b0| 69 67 20 69 6e 74 20 09 | 09 44 65 66 61 75 6c 74 |ig int .|.Default|
|000035c0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 3b 0d 0a 76 61 |Applicat|ion;..va|
|000035d0| 72 20 63 6f 6e 66 69 67 | 20 69 6e 74 20 09 09 45 |r config| int ..E|
|000035e0| 78 70 69 72 61 74 69 6f | 6e 53 65 63 6f 6e 64 73 |xpiratio|nSeconds|
|000035f0| 3b 09 09 2f 2f 20 48 6f | 77 20 6c 6f 6e 67 20 69 |;..// Ho|w long i|
|00003600| 6d 61 67 65 73 20 63 61 | 6e 20 62 65 20 63 61 63 |mages ca|n be cac|
|00003610| 68 65 64 20 2e 2e 20 64 | 65 66 61 75 6c 74 20 69 |hed .. d|efault i|
|00003620| 73 20 32 34 20 68 6f 75 | 72 73 0d 0a 0d 0a 76 61 |s 24 hou|rs....va|
|00003630| 72 20 73 74 72 69 6e 67 | 20 09 09 09 53 65 72 76 |r string| ...Serv|
|00003640| 65 72 55 52 4c 3b 0d 0a | 76 61 72 20 57 65 62 41 |erURL;..|var WebA|
|00003650| 70 70 6c 69 63 61 74 69 | 6f 6e 20 09 41 70 70 6c |pplicati|on .Appl|
|00003660| 69 63 61 74 69 6f 6e 4f | 62 6a 65 63 74 73 5b 31 |icationO|bjects[1|
|00003670| 30 5d 3b 0d 0a 0d 0a 76 | 61 72 20 69 6e 74 20 43 |0];....v|ar int C|
|00003680| 6f 6e 6e 65 63 74 69 6f | 6e 43 6f 75 6e 74 3b 0d |onnectio|nCount;.|
|00003690| 0a 2f 2f 20 4d 43 3a 20 | 44 65 62 75 67 0d 0a 2f |.// MC: |Debug../|
|000036a0| 2f 20 76 61 72 20 69 6e | 74 20 43 6f 6e 6e 49 64 |/ var in|t ConnId|
|000036b0| 3b 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 42 65 |;....fun|ction Be|
|000036c0| 67 69 6e 50 6c 61 79 28 | 29 0d 0a 7b 0d 0a 09 6c |ginPlay(|)..{...l|
|000036d0| 6f 63 61 6c 20 69 6e 74 | 20 69 3b 0d 0a 09 6c 6f |ocal int| i;...lo|
|000036e0| 63 61 6c 20 63 6c 61 73 | 73 3c 57 65 62 41 70 70 |cal clas|s<WebApp|
|000036f0| 6c 69 63 61 74 69 6f 6e | 3e 20 41 70 70 6c 69 63 |lication|> Applic|
|00003700| 61 74 69 6f 6e 43 6c 61 | 73 73 3b 0d 0a 09 6c 6f |ationCla|ss;...lo|
|00003710| 63 61 6c 20 49 70 41 64 | 64 72 20 6c 3b 0d 0a 09 |cal IpAd|dr l;...|
|00003720| 6c 6f 63 61 6c 20 73 74 | 72 69 6e 67 20 73 3b 0d |local st|ring s;.|
|00003730| 0a 0d 0a 09 2f 2f 20 44 | 65 73 74 72 6f 79 20 69 |....// D|estroy i|
|00003740| 66 20 6e 6f 74 20 61 20 | 73 65 72 76 65 72 0d 0a |f not a |server..|
|00003750| 09 69 66 20 28 4c 65 76 | 65 6c 2e 4e 65 74 4d 6f |.if (Lev|el.NetMo|
|00003760| 64 65 20 3d 3d 20 4e 4d | 5f 53 74 61 6e 64 41 6c |de == NM|_StandAl|
|00003770| 6f 6e 65 20 7c 7c 20 4c | 65 76 65 6c 2e 4e 65 74 |one || L|evel.Net|
|00003780| 4d 6f 64 65 20 3d 3d 20 | 4e 4d 5f 43 6c 69 65 6e |Mode == |NM_Clien|
|00003790| 74 29 0d 0a 09 7b 0d 0a | 09 09 44 65 73 74 72 6f |t)...{..|..Destro|
|000037a0| 79 28 29 3b 0d 0a 09 09 | 72 65 74 75 72 6e 3b 0d |y();....|return;.|
|000037b0| 0a 09 7d 0d 0a 0d 0a 09 | 69 66 28 21 62 45 6e 61 |..}.....|if(!bEna|
|000037c0| 62 6c 65 64 29 0d 0a 09 | 7b 0d 0a 09 09 4c 6f 67 |bled)...|{....Log|
|000037d0| 28 22 57 65 62 73 65 72 | 76 65 72 20 69 73 20 6e |("Webser|ver is n|
|000037e0| 6f 74 20 65 6e 61 62 6c | 65 64 2e 20 20 53 65 74 |ot enabl|ed. Set|
|000037f0| 20 62 45 6e 61 62 6c 65 | 64 20 74 6f 20 54 72 75 | bEnable|d to Tru|
|00003800| 65 20 69 6e 20 41 64 76 | 61 6e 63 65 64 20 4f 70 |e in Adv|anced Op|
|00003810| 74 69 6f 6e 73 2e 22 29 | 3b 0d 0a 09 09 44 65 73 |tions.")|;....Des|
|00003820| 74 72 6f 79 28 29 3b 0d | 0a 09 09 72 65 74 75 72 |troy();.|...retur|
|00003830| 6e 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 53 75 70 65 72 |n;...}..|...Super|
|00003840| 2e 42 65 67 69 6e 50 6c | 61 79 28 29 3b 0d 0a 0d |.BeginPl|ay();...|
|00003850| 0a 09 66 6f 72 28 69 3d | 30 3b 69 3c 31 30 3b 69 |..for(i=|0;i<10;i|
|00003860| 2b 2b 29 0d 0a 09 7b 0d | 0a 09 09 69 66 28 41 70 |++)...{.|...if(Ap|
|00003870| 70 6c 69 63 61 74 69 6f | 6e 73 5b 69 5d 20 3d 3d |plicatio|ns[i] ==|
|00003880| 20 22 22 29 0d 0a 09 09 | 09 62 72 65 61 6b 3b 0d | "")....|.break;.|
|00003890| 0a 0d 0a 09 09 41 70 70 | 6c 69 63 61 74 69 6f 6e |.....App|lication|
|000038a0| 43 6c 61 73 73 20 3d 20 | 63 6c 61 73 73 3c 57 65 |Class = |class<We|
|000038b0| 62 41 70 70 6c 69 63 61 | 74 69 6f 6e 3e 28 44 79 |bApplica|tion>(Dy|
|000038c0| 6e 61 6d 69 63 4c 6f 61 | 64 4f 62 6a 65 63 74 28 |namicLoa|dObject(|
|000038d0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 73 5b 69 5d 2c |Applicat|ions[i],|
|000038e0| 20 63 6c 61 73 73 27 43 | 6c 61 73 73 27 29 29 3b | class'C|lass'));|
|000038f0| 0d 0a 09 09 69 66 28 41 | 70 70 6c 69 63 61 74 69 |....if(A|pplicati|
|00003900| 6f 6e 43 6c 61 73 73 20 | 21 3d 20 4e 6f 6e 65 29 |onClass |!= None)|
|00003910| 0d 0a 09 09 7b 0d 0a 09 | 09 09 41 70 70 6c 69 63 |....{...|..Applic|
|00003920| 61 74 69 6f 6e 4f 62 6a | 65 63 74 73 5b 69 5d 20 |ationObj|ects[i] |
|00003930| 3d 20 4e 65 77 28 4e 6f | 6e 65 29 20 41 70 70 6c |= New(No|ne) Appl|
|00003940| 69 63 61 74 69 6f 6e 43 | 6c 61 73 73 3b 0d 0a 09 |icationC|lass;...|
|00003950| 09 09 41 70 70 6c 69 63 | 61 74 69 6f 6e 4f 62 6a |..Applic|ationObj|
|00003960| 65 63 74 73 5b 69 5d 2e | 4c 65 76 65 6c 20 3d 20 |ects[i].|Level = |
|00003970| 4c 65 76 65 6c 3b 0d 0a | 09 09 09 41 70 70 6c 69 |Level;..|...Appli|
|00003980| 63 61 74 69 6f 6e 4f 62 | 6a 65 63 74 73 5b 69 5d |cationOb|jects[i]|
|00003990| 2e 57 65 62 53 65 72 76 | 65 72 20 3d 20 53 65 6c |.WebServ|er = Sel|
|000039a0| 66 3b 0d 0a 09 09 09 41 | 70 70 6c 69 63 61 74 69 |f;.....A|pplicati|
|000039b0| 6f 6e 4f 62 6a 65 63 74 | 73 5b 69 5d 2e 50 61 74 |onObject|s[i].Pat|
|000039c0| 68 20 3d 20 41 70 70 6c | 69 63 61 74 69 6f 6e 50 |h = Appl|icationP|
|000039d0| 61 74 68 73 5b 69 5d 3b | 0d 0a 09 09 09 41 70 70 |aths[i];|.....App|
|000039e0| 6c 69 63 61 74 69 6f 6e | 4f 62 6a 65 63 74 73 5b |lication|Objects[|
|000039f0| 69 5d 2e 49 6e 69 74 28 | 29 3b 0d 0a 09 09 7d 0d |i].Init(|);....}.|
|00003a00| 0a 09 7d 0d 0a 0d 0a 09 | 69 66 28 53 65 72 76 65 |..}.....|if(Serve|
|00003a10| 72 4e 61 6d 65 20 3d 3d | 20 22 22 29 0d 0a 09 7b |rName ==| "")...{|
|00003a20| 0d 0a 09 09 47 65 74 4c | 6f 63 61 6c 49 50 28 6c |....GetL|ocalIP(l|
|00003a30| 29 3b 0d 0a 09 09 73 20 | 3d 20 49 70 41 64 64 72 |);....s |= IpAddr|
|00003a40| 54 6f 53 74 72 69 6e 67 | 28 6c 29 3b 0d 0a 09 09 |ToString|(l);....|
|00003a50| 69 20 3d 20 49 6e 53 74 | 72 28 73 2c 20 22 3a 22 |i = InSt|r(s, ":"|
|00003a60| 29 3b 0d 0a 09 09 69 66 | 28 69 20 21 3d 20 2d 31 |);....if|(i != -1|
|00003a70| 29 0d 0a 09 09 09 73 20 | 3d 20 4c 65 66 74 28 73 |).....s |= Left(s|
|00003a80| 2c 20 69 29 3b 0d 0a 09 | 09 53 65 72 76 65 72 55 |, i);...|.ServerU|
|00003a90| 52 4c 20 3d 20 22 68 74 | 74 70 3a 2f 2f 22 24 73 |RL = "ht|tp://"$s|
|00003aa0| 3b 0d 0a 09 7d 0d 0a 09 | 65 6c 73 65 0d 0a 09 09 |;...}...|else....|
|00003ab0| 53 65 72 76 65 72 55 52 | 4c 20 3d 20 22 68 74 74 |ServerUR|L = "htt|
|00003ac0| 70 3a 2f 2f 22 24 53 65 | 72 76 65 72 4e 61 6d 65 |p://"$Se|rverName|
|00003ad0| 3b 0d 0a 0d 0a 09 69 66 | 28 4c 69 73 74 65 6e 50 |;.....if|(ListenP|
|00003ae0| 6f 72 74 20 21 3d 20 38 | 30 29 0d 0a 09 09 53 65 |ort != 8|0)....Se|
|00003af0| 72 76 65 72 55 52 4c 20 | 3d 20 53 65 72 76 65 72 |rverURL |= Server|
|00003b00| 55 52 4c 20 24 20 22 3a | 22 24 73 74 72 69 6e 67 |URL $ ":|"$string|
|00003b10| 28 4c 69 73 74 65 6e 50 | 6f 72 74 29 3b 0d 0a 0d |(ListenP|ort);...|
|00003b20| 0a 09 42 69 6e 64 50 6f | 72 74 28 20 4c 69 73 74 |..BindPo|rt( List|
|00003b30| 65 6e 50 6f 72 74 20 29 | 3b 0d 0a 09 4c 69 73 74 |enPort )|;...List|
|00003b40| 65 6e 28 29 3b 0d 0a 7d | 0d 0a 0d 0a 65 76 65 6e |en();..}|....even|
|00003b50| 74 20 44 65 73 74 72 6f | 79 65 64 28 29 0d 0a 7b |t Destro|yed()..{|
|00003b60| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 69 3b 0d |...local| int i;.|
|00003b70| 0a 0d 0a 09 66 6f 72 28 | 69 20 3d 20 30 3b 20 69 |....for(|i = 0; i|
|00003b80| 20 3c 20 41 72 72 61 79 | 43 6f 75 6e 74 28 41 70 | < Array|Count(Ap|
|00003b90| 70 6c 69 63 61 74 69 6f | 6e 4f 62 6a 65 63 74 73 |plicatio|nObjects|
|00003ba0| 29 3b 20 69 2b 2b 29 0d | 0a 09 09 69 66 20 28 41 |); i++).|...if (A|
|00003bb0| 70 70 6c 69 63 61 74 69 | 6f 6e 4f 62 6a 65 63 74 |pplicati|onObject|
|00003bc0| 73 5b 69 5d 20 21 3d 20 | 4e 6f 6e 65 29 0d 0a 09 |s[i] != |None)...|
|00003bd0| 09 09 41 70 70 6c 69 63 | 61 74 69 6f 6e 4f 62 6a |..Applic|ationObj|
|00003be0| 65 63 74 73 5b 69 5d 2e | 43 6c 65 61 6e 75 70 41 |ects[i].|CleanupA|
|00003bf0| 70 70 28 29 3b 0d 0a 0d | 0a 09 53 75 70 65 72 2e |pp();...|..Super.|
|00003c00| 44 65 73 74 72 6f 79 65 | 64 28 29 3b 0d 0a 7d 0d |Destroye|d();..}.|
|00003c10| 0a 0d 0a 65 76 65 6e 74 | 20 47 61 69 6e 65 64 43 |...event| GainedC|
|00003c20| 68 69 6c 64 28 20 41 63 | 74 6f 72 20 43 20 29 0d |hild( Ac|tor C ).|
|00003c30| 0a 7b 0d 0a 09 53 75 70 | 65 72 2e 47 61 69 6e 65 |.{...Sup|er.Gaine|
|00003c40| 64 43 68 69 6c 64 28 43 | 29 3b 0d 0a 09 43 6f 6e |dChild(C|);...Con|
|00003c50| 6e 65 63 74 69 6f 6e 43 | 6f 75 6e 74 2b 2b 3b 0d |nectionC|ount++;.|
|00003c60| 0a 0d 0a 09 2f 2f 20 69 | 66 20 74 6f 6f 20 6d 61 |....// i|f too ma|
|00003c70| 6e 79 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 73 2c 20 |ny conne|ctions, |
|00003c80| 63 6c 6f 73 65 20 64 6f | 77 6e 20 6c 69 73 74 65 |close do|wn liste|
|00003c90| 6e 2e 0d 0a 09 69 66 28 | 4d 61 78 43 6f 6e 6e 65 |n....if(|MaxConne|
|00003ca0| 63 74 69 6f 6e 73 20 3e | 20 30 20 26 26 20 43 6f |ctions >| 0 && Co|
|00003cb0| 6e 6e 65 63 74 69 6f 6e | 43 6f 75 6e 74 20 3e 20 |nnection|Count > |
|00003cc0| 4d 61 78 43 6f 6e 6e 65 | 63 74 69 6f 6e 73 20 26 |MaxConne|ctions &|
|00003cd0| 26 20 4c 69 6e 6b 53 74 | 61 74 65 20 3d 3d 20 53 |& LinkSt|ate == S|
|00003ce0| 54 41 54 45 5f 4c 69 73 | 74 65 6e 69 6e 67 29 0d |TATE_Lis|tening).|
|00003cf0| 0a 09 7b 0d 0a 09 09 4c | 6f 67 28 22 57 65 62 53 |..{....L|og("WebS|
|00003d00| 65 72 76 65 72 3a 20 54 | 6f 6f 20 6d 61 6e 79 20 |erver: T|oo many |
|00003d10| 63 6f 6e 6e 65 63 74 69 | 6f 6e 73 20 2d 20 63 6c |connecti|ons - cl|
|00003d20| 6f 73 69 6e 67 20 64 6f | 77 6e 20 4c 69 73 74 65 |osing do|wn Liste|
|00003d30| 6e 2e 22 29 3b 0d 0a 09 | 09 43 6c 6f 73 65 28 29 |n.");...|.Close()|
|00003d40| 3b 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 65 76 65 6e |;...}..}|....even|
|00003d50| 74 20 4c 6f 73 74 43 68 | 69 6c 64 28 20 41 63 74 |t LostCh|ild( Act|
|00003d60| 6f 72 20 43 20 29 0d 0a | 7b 0d 0a 09 53 75 70 65 |or C )..|{...Supe|
|00003d70| 72 2e 4c 6f 73 74 43 68 | 69 6c 64 28 43 29 3b 0d |r.LostCh|ild(C);.|
|00003d80| 0a 09 43 6f 6e 6e 65 63 | 74 69 6f 6e 43 6f 75 6e |..Connec|tionCoun|
|00003d90| 74 2d 2d 3b 0d 0a 0d 0a | 09 2f 2f 20 69 66 20 63 |t--;....|.// if c|
|00003da0| 6c 6f 73 65 64 20 64 75 | 65 20 74 6f 20 74 6f 6f |losed du|e to too|
|00003db0| 20 6d 61 6e 79 20 63 6f | 6e 6e 65 63 74 69 6f 6e | many co|nnection|
|00003dc0| 73 2c 20 73 74 61 72 74 | 20 6c 69 73 74 65 6e 69 |s, start| listeni|
|00003dd0| 6e 67 20 61 67 61 69 6e | 2e 0d 0a 09 69 66 28 43 |ng again|....if(C|
|00003de0| 6f 6e 6e 65 63 74 69 6f | 6e 43 6f 75 6e 74 20 3c |onnectio|nCount <|
|00003df0| 3d 20 4d 61 78 43 6f 6e | 6e 65 63 74 69 6f 6e 73 |= MaxCon|nections|
|00003e00| 20 26 26 20 4c 69 6e 6b | 53 74 61 74 65 20 21 3d | && Link|State !=|
|00003e10| 20 53 54 41 54 45 5f 4c | 69 73 74 65 6e 69 6e 67 | STATE_L|istening|
|00003e20| 29 0d 0a 09 7b 0d 0a 09 | 09 4c 6f 67 28 22 57 65 |)...{...|.Log("We|
|00003e30| 62 53 65 72 76 65 72 3a | 20 4c 69 73 74 65 6e 69 |bServer:| Listeni|
|00003e40| 6e 67 20 61 67 61 69 6e | 20 2d 20 63 6f 6e 6e 65 |ng again| - conne|
|00003e50| 63 74 69 6f 6e 73 20 68 | 61 76 65 20 62 65 65 6e |ctions h|ave been|
|00003e60| 20 63 6c 6f 73 65 64 2e | 22 29 3b 0d 0a 09 09 4c | closed.|");....L|
|00003e70| 69 73 74 65 6e 28 29 3b | 0d 0a 09 7d 0d 0a 7d 0d |isten();|...}..}.|
|00003e80| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 57 65 62 41 |...funct|ion WebA|
|00003e90| 70 70 6c 69 63 61 74 69 | 6f 6e 20 47 65 74 41 70 |pplicati|on GetAp|
|00003ea0| 70 6c 69 63 61 74 69 6f | 6e 28 73 74 72 69 6e 67 |plicatio|n(string|
|00003eb0| 20 55 52 49 2c 20 6f 75 | 74 20 73 74 72 69 6e 67 | URI, ou|t string|
|00003ec0| 20 53 75 62 55 52 49 29 | 0d 0a 7b 0d 0a 09 6c 6f | SubURI)|..{...lo|
|00003ed0| 63 61 6c 20 69 6e 74 20 | 69 2c 20 6c 3b 0d 0a 0d |cal int |i, l;...|
|00003ee0| 0a 09 53 75 62 55 52 49 | 20 3d 20 22 22 3b 0d 0a |..SubURI| = "";..|
|00003ef0| 09 66 6f 72 28 69 3d 30 | 3b 69 3c 31 30 3b 69 2b |.for(i=0|;i<10;i+|
|00003f00| 2b 29 0d 0a 09 7b 0d 0a | 09 09 69 66 28 41 70 70 |+)...{..|..if(App|
|00003f10| 6c 69 63 61 74 69 6f 6e | 50 61 74 68 73 5b 69 5d |lication|Paths[i]|
|00003f20| 20 21 3d 20 22 22 29 0d | 0a 09 09 7b 0d 0a 09 09 | != "").|...{....|
|00003f30| 09 6c 20 3d 20 4c 65 6e | 28 41 70 70 6c 69 63 61 |.l = Len|(Applica|
|00003f40| 74 69 6f 6e 50 61 74 68 | 73 5b 69 5d 29 3b 0d 0a |tionPath|s[i]);..|
|00003f50| 09 09 09 69 66 28 4c 65 | 66 74 28 55 52 49 2c 20 |...if(Le|ft(URI, |
|00003f60| 6c 29 20 3d 3d 20 41 70 | 70 6c 69 63 61 74 69 6f |l) == Ap|plicatio|
|00003f70| 6e 50 61 74 68 73 5b 69 | 5d 20 26 26 20 28 4c 65 |nPaths[i|] && (Le|
|00003f80| 6e 28 55 52 49 29 20 3d | 3d 20 6c 20 7c 7c 20 4d |n(URI) =|= l || M|
|00003f90| 69 64 28 55 52 49 2c 20 | 6c 2c 20 31 29 20 3d 3d |id(URI, |l, 1) ==|
|00003fa0| 20 22 2f 22 29 29 0d 0a | 09 09 09 7b 0d 0a 09 09 | "/"))..|...{....|
|00003fb0| 09 09 53 75 62 55 52 49 | 20 3d 20 4d 69 64 28 55 |..SubURI| = Mid(U|
|00003fc0| 52 49 2c 20 6c 29 3b 0d | 0a 09 09 09 09 72 65 74 |RI, l);.|.....ret|
|00003fd0| 75 72 6e 20 41 70 70 6c | 69 63 61 74 69 6f 6e 4f |urn Appl|icationO|
|00003fe0| 62 6a 65 63 74 73 5b 69 | 5d 3b 0d 0a 09 09 09 7d |bjects[i|];.....}|
|00003ff0| 0d 0a 09 09 7d 0d 0a 09 | 7d 0d 0a 09 72 65 74 75 |....}...|}...retu|
|00004000| 72 6e 20 4e 6f 6e 65 3b | 0d 0a 7d 0d 0a 0d 0a 00 |rn None;|..}.....|
|00004010| 44 03 00 6e 02 01 00 00 | 00 02 40 40 00 44 03 44 |D..n....|..@@.D.D|
|00004020| 03 00 7e 01 05 00 00 00 | 02 10 00 00 44 03 44 03 |..~.....|....D.D.|
|00004030| a1 10 00 00 4a 01 00 00 | 00 00 17 00 00 00 3e 02 |....J...|......>.|
|00004040| 00 00 1b 00 00 00 0f 01 | 10 2e 0d 01 a0 61 18 1e |........|.....a..|
|00004050| 00 00 f0 41 28 16 04 0b | 00 00 00 02 08 02 00 44 |...A(...|.......D|
|00004060| 03 00 17 01 00 00 00 80 | 05 00 00 44 03 04 44 03 |........|...D..D.|
|00004070| 00 00 01 00 00 00 80 05 | 40 00 44 03 44 03 00 44 |........|@.D.D..D|
|00004080| 02 00 26 0f 00 00 00 00 | 7b 00 00 00 53 0b 00 00 |..&.....|{...S...|
|00004090| b2 00 00 00 0f 00 42 01 | 1f 00 0f 00 17 25 07 ae |......B.|.....%..|
|000040a0| 00 96 00 17 2c 0a 16 07 | a4 00 7b 1a 00 17 01 24 |....,...|..{....$|
|000040b0| 1f 00 16 0f 00 22 7d 1a | 00 17 01 24 16 07 a4 00 |....."}.|...$....|
|000040c0| 82 7a 80 00 26 00 22 16 | 1a 00 17 01 24 16 18 26 |.z..&.".|....$..&|
|000040d0| 00 84 9a 7d 00 26 16 00 | 22 16 18 13 00 7a 7f 00 |...}.&..|"....z..|
|000040e0| 26 00 22 26 16 1f 2f 00 | 16 16 16 0f 00 42 01 7f |&."&../.|.....B..|
|000040f0| 00 26 00 22 16 04 1a 00 | 17 01 0f a5 00 17 16 06 |.&."....|........|
|00004100| 0f 00 04 2a 04 0b 00 00 | 00 02 00 02 00 44 03 92 |...*....|.....D..|
|00004110| 46 02 00 4b 01 33 00 00 | 00 00 6c 00 00 00 dd 09 |F..K.3..|..l.....|
|00004120| 00 00 79 00 00 00 1c 92 | 00 4b 01 16 a6 01 28 16 |..y.....|.K....(.|
|00004130| 07 77 00 82 98 01 28 01 | 2d 16 18 0e 00 9b 39 3a |.w....(.|-.....9:|
|00004140| 01 90 39 3a 24 02 16 16 | e7 1f 57 65 62 53 65 72 |..9:$...|..WebSer|
|00004150| 76 65 72 3a 20 4c 69 73 | 74 65 6e 69 6e 67 20 61 |ver: Lis|tening a|
|00004160| 67 61 69 6e 20 2d 20 63 | 6f 6e 6e 65 63 74 69 6f |gain - c|onnectio|
|00004170| 6e 73 20 68 61 76 65 20 | 62 65 65 6e 20 63 6c 6f |ns have |been clo|
|00004180| 73 65 64 2e 00 16 1b 25 | 16 04 0b 00 00 00 02 08 |sed....%|........|
|00004190| 02 00 44 03 00 00 01 00 | 00 00 80 05 00 00 44 03 |..D.....|......D.|
|000041a0| 44 03 95 48 02 00 50 01 | 34 00 00 00 00 5f 00 00 |D..H..P.|4...._..|
|000041b0| 00 a6 08 00 00 82 00 00 | 00 1c 95 00 50 01 16 a5 |........|....P...|
|000041c0| 01 28 16 07 80 00 82 82 | 97 01 2d 25 16 18 0d 00 |.(......|..-%....|
|000041d0| 97 01 28 01 2d 16 16 18 | 0e 00 9a 39 3a 01 90 39 |..(.-...|...9:..9|
|000041e0| 3a 24 02 16 16 e7 1f 57 | 65 62 53 65 72 76 65 72 |:$.....W|ebServer|
|000041f0| 3a 20 54 6f 6f 20 6d 61 | 6e 79 20 63 6f 6e 6e 65 |: Too ma|ny conne|
|00004200| 63 74 69 6f 6e 73 20 2d | 20 63 6c 6f 73 69 6e 67 |ctions -| closing|
|00004210| 20 64 6f 77 6e 20 4c 69 | 73 74 65 6e 2e 00 16 1b | down Li|sten....|
|00004220| 13 16 04 0b 00 00 00 02 | 08 02 00 44 03 a2 40 02 |........|...D..@.|
|00004230| 00 00 4b 01 00 00 00 00 | 20 00 00 00 fe 02 00 00 |..K.....| .......|
|00004240| 05 00 00 00 61 17 16 04 | 0b 00 00 00 02 08 02 00 |....a...|........|
|00004250| 44 03 94 4d 02 00 16 35 | 00 00 00 00 56 00 00 00 |D..M...5|....V...|
|00004260| e5 07 00 00 4b 00 00 00 | 0f 00 16 25 07 43 00 96 |....K...|...%.C..|
|00004270| 00 16 2c 0a 16 07 39 00 | 77 1a 00 16 01 0f 2a 16 |..,...9.|w.....*.|
|00004280| 19 1a 00 16 01 0f 06 00 | 00 1b 7a 02 16 a5 00 16 |........|..z.....|
|00004290| 16 06 07 00 1c 94 16 04 | 0b 00 00 00 02 08 02 00 |........|........|
|000042a0| 44 03 97 47 02 00 00 32 | 00 00 00 00 25 00 00 00 |D..G...2|....%...|
|000042b0| 22 03 00 00 10 00 00 00 | 14 2d 01 6f 02 28 1b 03 |".......|.-.o.(..|
|000042c0| 16 04 0b 00 00 00 02 08 | 02 00 44 03 00 00 01 00 |........|..D.....|
|000042d0| 00 00 80 05 40 00 44 03 | 44 03 00 57 01 00 11 18 |....@.D.|D..W....|
|000042e0| 00 00 00 00 1d 00 00 00 | 21 03 00 00 e6 00 00 00 |........|!.......|
|000042f0| 07 83 00 7c 80 00 11 2c | 15 16 1f 41 75 74 68 6f |...|...,|...Autho|
|00004300| 72 69 7a 61 74 69 6f 6e | 3a 20 42 61 73 69 63 20 |rization|: Basic |
|00004310| 00 16 0f 00 11 1c 56 01 | 7f 00 11 2c 15 16 16 0f |......V.|...,....|
|00004320| 00 25 7e 00 11 1f 3a 00 | 16 07 80 00 9b 00 25 1d |.%~...:.|......%.|
|00004330| ff ff ff ff 16 0f 01 3f | 80 00 11 00 25 16 0f 01 |.......?|....%...|
|00004340| 3b 7f 00 11 92 00 25 26 | 16 16 06 e4 00 07 b7 00 |;.....%&|........|
|00004350| 7c 80 00 11 2c 10 16 1f | 43 6f 6e 74 65 6e 74 2d ||...,...|Content-|
|00004360| 4c 65 6e 67 74 68 3a 20 | 00 16 0f 01 30 39 4a 7f |Length: |....09J.|
|00004370| 00 11 2c 10 16 06 e4 00 | 07 e4 00 7c 80 00 11 2c |..,.....|...|...,|
|00004380| 0e 16 1f 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 3a |...Conte|nt-Type:|
|00004390| 20 00 16 0f 01 2f 7f 00 | 11 2c 0e 16 04 0b 00 00 | ..../..|.,......|
|000043a0| 00 02 00 02 00 44 03 00 | 00 00 00 00 00 00 00 4c |.....D..|.......L|
|000043b0| 50 2f 2a 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |P/*=====|========|
|000043c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000043d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000043e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000043f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004400| 0d 0a 09 57 65 62 43 6f | 6e 6e 65 63 74 69 6f 6e |...WebCo|nnection|
|00004410| 20 69 73 20 74 68 65 20 | 62 72 69 64 67 65 20 74 | is the |bridge t|
|00004420| 68 61 74 20 77 69 6c 6c | 20 68 61 6e 64 6c 65 20 |hat will| handle |
|00004430| 61 6c 6c 20 63 6f 6d 6d | 75 6e 69 63 61 74 69 6f |all comm|unicatio|
|00004440| 6e 20 62 65 74 77 65 65 | 6e 0d 0a 09 74 68 65 20 |n betwee|n...the |
|00004450| 77 65 62 20 73 65 72 76 | 65 72 20 61 6e 64 20 74 |web serv|er and t|
|00004460| 68 65 20 63 6c 69 65 6e | 74 27 73 20 62 72 6f 77 |he clien|t's brow|
|00004470| 73 65 72 2e 0d 0a 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |ser...==|========|
|00004480| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004490| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000044a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000044b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000044c0| 3d 3d 3d 2a 2f 0d 0a 0d | 0a 63 6c 61 73 73 20 57 |===*/...|.class W|
|000044d0| 65 62 43 6f 6e 6e 65 63 | 74 69 6f 6e 20 65 78 74 |ebConnec|tion ext|
|000044e0| 65 6e 64 73 20 54 63 70 | 4c 69 6e 6b 3b 0d 0a 0d |ends Tcp|Link;...|
|000044f0| 0a 76 61 72 20 57 65 62 | 53 65 72 76 65 72 20 57 |.var Web|Server W|
|00004500| 65 62 53 65 72 76 65 72 | 3b 0d 0a 76 61 72 20 73 |ebServer|;..var s|
|00004510| 74 72 69 6e 67 20 52 65 | 63 65 69 76 65 64 44 61 |tring Re|ceivedDa|
|00004520| 74 61 3b 0d 0a 0d 0a 76 | 61 72 20 57 65 62 52 65 |ta;....v|ar WebRe|
|00004530| 71 75 65 73 74 20 52 65 | 71 75 65 73 74 3b 0d 0a |quest Re|quest;..|
|00004540| 76 61 72 20 57 65 62 52 | 65 73 70 6f 6e 73 65 20 |var WebR|esponse |
|00004550| 52 65 73 70 6f 6e 73 65 | 3b 0d 0a 76 61 72 20 57 |Response|;..var W|
|00004560| 65 62 41 70 70 6c 69 63 | 61 74 69 6f 6e 20 41 70 |ebApplic|ation Ap|
|00004570| 70 6c 69 63 61 74 69 6f | 6e 3b 0d 0a 0d 0a 76 61 |plicatio|n;....va|
|00004580| 72 20 62 6f 6f 6c 20 62 | 44 65 6c 61 79 43 6c 65 |r bool b|DelayCle|
|00004590| 61 6e 75 70 3b 0d 0a 0d | 0a 76 61 72 20 69 6e 74 |anup;...|.var int|
|000045a0| 20 52 61 77 42 79 74 65 | 73 45 78 70 65 63 74 69 | RawByte|sExpecti|
|000045b0| 6e 67 3b 0d 0a 2f 2f 20 | 4d 43 3a 20 44 65 62 75 |ng;..// |MC: Debu|
|000045c0| 67 0d 0a 2f 2f 20 76 61 | 72 20 69 6e 74 20 43 6f |g..// va|r int Co|
|000045d0| 6e 6e 49 64 3b 0d 0a 0d | 0a 65 76 65 6e 74 20 41 |nnId;...|.event A|
|000045e0| 63 63 65 70 74 65 64 28 | 29 0d 0a 7b 0d 0a 09 57 |ccepted(|)..{...W|
|000045f0| 65 62 53 65 72 76 65 72 | 20 3d 20 57 65 62 53 65 |ebServer| = WebSe|
|00004600| 72 76 65 72 28 4f 77 6e | 65 72 29 3b 0d 0a 09 53 |rver(Own|er);...S|
|00004610| 65 74 54 69 6d 65 72 28 | 33 30 2c 20 46 61 6c 73 |etTimer(|30, Fals|
|00004620| 65 29 3b 0d 0a 2f 2f 09 | 43 6f 6e 6e 49 64 20 3d |e);..//.|ConnId =|
|00004630| 20 57 65 62 53 65 72 76 | 65 72 2e 43 6f 6e 6e 49 | WebServ|er.ConnI|
|00004640| 64 2b 2b 3b 0d 0a 2f 2f | 09 4c 6f 67 28 22 43 6f |d++;..//|.Log("Co|
|00004650| 6e 6e 65 63 74 69 6f 6e | 22 40 43 6f 6e 6e 49 64 |nnection|"@ConnId|
|00004660| 40 22 41 63 63 65 70 74 | 65 64 22 29 3b 0d 0a 7d |@"Accept|ed");..}|
|00004670| 0d 0a 0d 0a 65 76 65 6e | 74 20 43 6c 6f 73 65 64 |....even|t Closed|
|00004680| 28 29 0d 0a 7b 0d 0a 2f | 2f 09 4c 6f 67 28 22 43 |()..{../|/.Log("C|
|00004690| 6f 6e 6e 65 63 74 69 6f | 6e 22 40 43 6f 6e 6e 49 |onnectio|n"@ConnI|
|000046a0| 64 40 22 43 6c 6f 73 65 | 64 22 29 3b 0d 0a 09 44 |d@"Close|d");...D|
|000046b0| 65 73 74 72 6f 79 28 29 | 3b 0d 0a 7d 0d 0a 0d 0a |estroy()|;..}....|
|000046c0| 65 76 65 6e 74 20 54 69 | 6d 65 72 28 29 0d 0a 7b |event Ti|mer()..{|
|000046d0| 0d 0a 09 62 44 65 6c 61 | 79 43 6c 65 61 6e 75 70 |...bDela|yCleanup|
|000046e0| 20 3d 20 46 61 6c 73 65 | 3b 0d 0a 09 43 6c 65 61 | = False|;...Clea|
|000046f0| 6e 75 70 28 29 3b 0d 0a | 7d 0d 0a 0d 0a 65 76 65 |nup();..|}....eve|
|00004700| 6e 74 20 52 65 63 65 69 | 76 65 64 54 65 78 74 28 |nt Recei|vedText(|
|00004710| 20 73 74 72 69 6e 67 20 | 54 65 78 74 20 29 0d 0a | string |Text )..|
|00004720| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 69 6e 74 20 69 3b |{...loca|l int i;|
|00004730| 0d 0a 09 6c 6f 63 61 6c | 20 73 74 72 69 6e 67 20 |...local| string |
|00004740| 53 3b 0d 0a 0d 0a 09 52 | 65 63 65 69 76 65 64 44 |S;.....R|eceivedD|
|00004750| 61 74 61 20 3d 20 52 65 | 63 65 69 76 65 64 44 61 |ata = Re|ceivedDa|
|00004760| 74 61 20 24 20 54 65 78 | 74 3b 0d 0a 09 69 66 28 |ta $ Tex|t;...if(|
|00004770| 52 61 77 42 79 74 65 73 | 45 78 70 65 63 74 69 6e |RawBytes|Expectin|
|00004780| 67 20 3e 20 30 29 0d 0a | 09 7b 0d 0a 09 09 52 61 |g > 0)..|.{....Ra|
|00004790| 77 42 79 74 65 73 45 78 | 70 65 63 74 69 6e 67 20 |wBytesEx|pecting |
|000047a0| 2d 3d 20 4c 65 6e 28 54 | 65 78 74 29 3b 0d 0a 09 |-= Len(T|ext);...|
|000047b0| 09 43 68 65 63 6b 52 61 | 77 42 79 74 65 73 28 29 |.CheckRa|wBytes()|
|000047c0| 3b 0d 0a 0d 0a 09 09 72 | 65 74 75 72 6e 3b 0d 0a |;......r|eturn;..|
|000047d0| 09 7d 0d 0a 0d 0a 09 2f | 2f 20 72 65 6d 6f 76 65 |.}...../|/ remove|
|000047e0| 20 61 20 4c 46 20 77 68 | 69 63 68 20 61 72 72 69 | a LF wh|ich arri|
|000047f0| 76 65 64 20 69 6e 20 61 | 20 6e 65 77 20 70 61 63 |ved in a| new pac|
|00004800| 6b 65 74 0d 0a 09 2f 2f | 20 61 6e 64 20 74 68 75 |ket...//| and thu|
|00004810| 73 20 64 69 64 6e 27 74 | 20 67 65 74 20 63 6c 65 |s didn't| get cle|
|00004820| 61 6e 65 64 20 75 70 20 | 62 79 20 74 68 65 20 63 |aned up |by the c|
|00004830| 6f 64 65 20 62 65 6c 6f | 77 0d 0a 09 69 66 28 4c |ode belo|w...if(L|
|00004840| 65 66 74 28 52 65 63 65 | 69 76 65 64 44 61 74 61 |eft(Rece|ivedData|
|00004850| 2c 20 31 29 20 3d 3d 20 | 43 68 72 28 31 30 29 29 |, 1) == |Chr(10))|
|00004860| 0d 0a 09 09 52 65 63 65 | 69 76 65 64 44 61 74 61 |....Rece|ivedData|
|00004870| 20 3d 20 4d 69 64 28 52 | 65 63 65 69 76 65 64 44 | = Mid(R|eceivedD|
|00004880| 61 74 61 2c 20 31 29 3b | 0d 0a 09 69 20 3d 20 49 |ata, 1);|...i = I|
|00004890| 6e 53 74 72 28 52 65 63 | 65 69 76 65 64 44 61 74 |nStr(Rec|eivedDat|
|000048a0| 61 2c 20 43 68 72 28 31 | 33 29 29 3b 0d 0a 09 77 |a, Chr(1|3));...w|
|000048b0| 68 69 6c 65 28 69 20 21 | 3d 20 2d 31 29 0d 0a 09 |hile(i !|= -1)...|
|000048c0| 7b 0d 0a 09 09 53 20 3d | 20 4c 65 66 74 28 52 65 |{....S =| Left(Re|
|000048d0| 63 65 69 76 65 64 44 61 | 74 61 2c 20 69 29 3b 0d |ceivedDa|ta, i);.|
|000048e0| 0a 09 09 69 2b 2b 3b 0d | 0a 09 09 2f 2f 20 63 68 |...i++;.|...// ch|
|000048f0| 65 63 6b 20 66 6f 72 20 | 61 6e 79 20 4c 46 20 66 |eck for |any LF f|
|00004900| 6f 6c 6c 6f 77 69 6e 67 | 20 74 68 65 20 43 52 2e |ollowing| the CR.|
|00004910| 0d 0a 09 09 69 66 28 4d | 69 64 28 52 65 63 65 69 |....if(M|id(Recei|
|00004920| 76 65 64 44 61 74 61 2c | 20 69 2c 20 31 29 20 3d |vedData,| i, 1) =|
|00004930| 3d 20 43 68 72 28 31 30 | 29 29 0d 0a 09 09 09 69 |= Chr(10|)).....i|
|00004940| 2b 2b 3b 0d 0a 0d 0a 09 | 09 52 65 63 65 69 76 65 |++;.....|.Receive|
|00004950| 64 44 61 74 61 20 3d 20 | 4d 69 64 28 52 65 63 65 |dData = |Mid(Rece|
|00004960| 69 76 65 64 44 61 74 61 | 2c 20 69 29 3b 0d 0a 0d |ivedData|, i);...|
|00004970| 0a 09 09 52 65 63 65 69 | 76 65 64 4c 69 6e 65 28 |...Recei|vedLine(|
|00004980| 53 29 3b 0d 0a 0d 0a 09 | 09 69 66 28 4c 69 6e 6b |S);.....|.if(Link|
|00004990| 53 74 61 74 65 20 21 3d | 20 53 54 41 54 45 5f 43 |State !=| STATE_C|
|000049a0| 6f 6e 6e 65 63 74 65 64 | 29 0d 0a 09 09 09 72 65 |onnected|).....re|
|000049b0| 74 75 72 6e 3b 0d 0a 09 | 09 69 66 28 52 61 77 42 |turn;...|.if(RawB|
|000049c0| 79 74 65 73 45 78 70 65 | 63 74 69 6e 67 20 3e 20 |ytesExpe|cting > |
|000049d0| 30 29 0d 0a 09 09 7b 0d | 0a 09 09 09 43 68 65 63 |0)....{.|....Chec|
|000049e0| 6b 52 61 77 42 79 74 65 | 73 28 29 3b 0d 0a 09 09 |kRawByte|s();....|
|000049f0| 09 72 65 74 75 72 6e 3b | 0d 0a 09 09 7d 0d 0a 0d |.return;|....}...|
|00004a00| 0a 09 09 69 20 3d 20 49 | 6e 53 74 72 28 52 65 63 |...i = I|nStr(Rec|
|00004a10| 65 69 76 65 64 44 61 74 | 61 2c 20 43 68 72 28 31 |eivedDat|a, Chr(1|
|00004a20| 33 29 29 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 66 |3));...}|..}....f|
|00004a30| 75 6e 63 74 69 6f 6e 20 | 52 65 63 65 69 76 65 64 |unction |Received|
|00004a40| 4c 69 6e 65 28 73 74 72 | 69 6e 67 20 53 29 0d 0a |Line(str|ing S)..|
|00004a50| 7b 0d 0a 09 69 66 20 28 | 53 20 3d 3d 20 22 22 29 |{...if (|S == "")|
|00004a60| 20 45 6e 64 4f 66 48 65 | 61 64 65 72 73 28 29 3b | EndOfHe|aders();|
|00004a70| 0d 0a 09 65 6c 73 65 0d | 0a 09 7b 0d 0a 2f 2f 09 |...else.|..{..//.|
|00004a80| 09 4c 6f 67 28 53 29 3b | 0d 0a 09 09 69 66 28 4c |.Log(S);|....if(L|
|00004a90| 65 66 74 28 53 2c 20 34 | 29 20 7e 3d 20 22 47 45 |eft(S, 4|) ~= "GE|
|00004aa0| 54 20 22 29 09 09 50 72 | 6f 63 65 73 73 47 65 74 |T ")..Pr|ocessGet|
|00004ab0| 28 53 29 3b 0d 0a 09 09 | 65 6c 73 65 20 69 66 28 |(S);....|else if(|
|00004ac0| 4c 65 66 74 28 53 2c 20 | 35 29 20 7e 3d 20 22 50 |Left(S, |5) ~= "P|
|00004ad0| 4f 53 54 20 22 29 09 50 | 72 6f 63 65 73 73 50 6f |OST ").P|rocessPo|
|00004ae0| 73 74 28 53 29 3b 0d 0a | 09 09 65 6c 73 65 20 69 |st(S);..|..else i|
|00004af0| 66 28 4c 65 66 74 28 53 | 2c 20 35 29 20 7e 3d 20 |f(Left(S|, 5) ~= |
|00004b00| 22 48 45 41 44 20 22 29 | 20 20 50 72 6f 63 65 73 |"HEAD ")| Proces|
|00004b10| 73 48 65 61 64 28 53 29 | 3b 0d 0a 09 09 65 6c 73 |sHead(S)|;....els|
|00004b20| 65 20 69 66 28 52 65 71 | 75 65 73 74 20 21 3d 20 |e if(Req|uest != |
|00004b30| 4e 6f 6e 65 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 52 |None)...|.{.....R|
|00004b40| 65 71 75 65 73 74 2e 50 | 72 6f 63 65 73 73 48 65 |equest.P|rocessHe|
|00004b50| 61 64 65 72 53 74 72 69 | 6e 67 28 53 29 3b 0d 0a |aderStri|ng(S);..|
|00004b60| 09 09 7d 0d 0a 09 7d 0d | 0a 7d 0d 0a 0d 0a 66 75 |..}...}.|.}....fu|
|00004b70| 6e 63 74 69 6f 6e 20 50 | 72 6f 63 65 73 73 48 65 |nction P|rocessHe|
|00004b80| 61 64 28 73 74 72 69 6e | 67 20 53 29 0d 0a 7b 0d |ad(strin|g S)..{.|
|00004b90| 0a 2f 2f 09 4c 6f 67 28 | 22 52 65 63 65 69 76 65 |.//.Log(|"Receive|
|00004ba0| 64 3a 20 22 24 53 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |d: "$S);|..}....f|
|00004bb0| 75 6e 63 74 69 6f 6e 20 | 50 72 6f 63 65 73 73 47 |unction |ProcessG|
|00004bc0| 65 74 28 73 74 72 69 6e | 67 20 53 29 0d 0a 7b 0d |et(strin|g S)..{.|
|00004bd0| 0a 09 6c 6f 63 61 6c 20 | 69 6e 74 20 69 3b 0d 0a |..local |int i;..|
|00004be0| 0d 0a 09 69 66 28 52 65 | 71 75 65 73 74 20 3d 3d |...if(Re|quest ==|
|00004bf0| 20 4e 6f 6e 65 29 0d 0a | 09 09 43 72 65 61 74 65 | None)..|..Create|
|00004c00| 52 65 73 70 6f 6e 73 65 | 4f 62 6a 65 63 74 28 29 |Response|Object()|
|00004c10| 3b 0d 0a 0d 0a 09 52 65 | 71 75 65 73 74 2e 52 65 |;.....Re|quest.Re|
|00004c20| 71 75 65 73 74 54 79 70 | 65 20 3d 20 52 65 71 75 |questTyp|e = Requ|
|00004c30| 65 73 74 5f 47 45 54 3b | 0d 0a 09 53 20 3d 20 4d |est_GET;|...S = M|
|00004c40| 69 64 28 53 2c 20 34 29 | 3b 0d 0a 09 77 68 69 6c |id(S, 4)|;...whil|
|00004c50| 65 28 4c 65 66 74 28 53 | 2c 20 31 29 20 3d 3d 20 |e(Left(S|, 1) == |
|00004c60| 22 20 22 29 0d 0a 09 09 | 53 20 3d 20 4d 69 64 28 |" ")....|S = Mid(|
|00004c70| 53 2c 20 31 29 3b 0d 0a | 0d 0a 09 69 20 3d 20 49 |S, 1);..|...i = I|
|00004c80| 6e 53 74 72 28 53 2c 20 | 22 20 22 29 3b 0d 0a 0d |nStr(S, |" ");...|
|00004c90| 0a 09 69 66 28 69 20 21 | 3d 20 2d 31 29 0d 0a 09 |..if(i !|= -1)...|
|00004ca0| 09 53 20 3d 20 4c 65 66 | 74 28 53 2c 20 69 29 3b |.S = Lef|t(S, i);|
|00004cb0| 0d 0a 0d 0a 09 69 20 3d | 20 49 6e 53 74 72 28 53 |.....i =| InStr(S|
|00004cc0| 2c 20 22 3f 22 29 3b 0d | 0a 09 69 66 28 69 20 21 |, "?");.|..if(i !|
|00004cd0| 3d 20 2d 31 29 0d 0a 09 | 7b 0d 0a 09 09 52 65 71 |= -1)...|{....Req|
|00004ce0| 75 65 73 74 2e 44 65 63 | 6f 64 65 46 6f 72 6d 44 |uest.Dec|odeFormD|
|00004cf0| 61 74 61 28 4d 69 64 28 | 53 2c 20 69 2b 31 29 29 |ata(Mid(|S, i+1))|
|00004d00| 3b 0d 0a 09 09 53 20 3d | 20 4c 65 66 74 28 53 2c |;....S =| Left(S,|
|00004d10| 20 69 29 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 41 70 70 | i);...}|.....App|
|00004d20| 6c 69 63 61 74 69 6f 6e | 20 3d 20 57 65 62 53 65 |lication| = WebSe|
|00004d30| 72 76 65 72 2e 47 65 74 | 41 70 70 6c 69 63 61 74 |rver.Get|Applicat|
|00004d40| 69 6f 6e 28 53 2c 20 52 | 65 71 75 65 73 74 2e 55 |ion(S, R|equest.U|
|00004d50| 52 49 29 3b 0d 0a 09 69 | 66 28 41 70 70 6c 69 63 |RI);...i|f(Applic|
|00004d60| 61 74 69 6f 6e 20 21 3d | 20 4e 6f 6e 65 20 26 26 |ation !=| None &&|
|00004d70| 20 52 65 71 75 65 73 74 | 2e 55 52 49 20 3d 3d 20 | Request|.URI == |
|00004d80| 22 22 29 0d 0a 09 7b 0d | 0a 2f 2f 09 09 52 65 73 |"")...{.|.//..Res|
|00004d90| 70 6f 6e 73 65 2e 52 65 | 64 69 72 65 63 74 28 57 |ponse.Re|direct(W|
|00004da0| 65 62 53 65 72 76 65 72 | 2e 53 65 72 76 65 72 55 |ebServer|.ServerU|
|00004db0| 52 4c 24 53 24 22 2f 22 | 29 3b 0d 0a 09 09 52 65 |RL$S$"/"|);....Re|
|00004dc0| 73 70 6f 6e 73 65 2e 52 | 65 64 69 72 65 63 74 28 |sponse.R|edirect(|
|00004dd0| 53 24 22 2f 22 29 3b 0d | 0a 09 09 43 6c 65 61 6e |S$"/");.|...Clean|
|00004de0| 75 70 28 29 3b 0d 0a 09 | 7d 0d 0a 09 65 6c 73 65 |up();...|}...else|
|00004df0| 0d 0a 09 69 66 28 41 70 | 70 6c 69 63 61 74 69 6f |...if(Ap|plicatio|
|00004e00| 6e 20 3d 3d 20 4e 6f 6e | 65 20 26 26 20 57 65 62 |n == Non|e && Web|
|00004e10| 73 65 72 76 65 72 2e 44 | 65 66 61 75 6c 74 41 70 |server.D|efaultAp|
|00004e20| 70 6c 69 63 61 74 69 6f | 6e 20 21 3d 20 2d 31 29 |plicatio|n != -1)|
|00004e30| 0d 0a 09 7b 0d 0a 2f 2f | 09 09 52 65 73 70 6f 6e |...{..//|..Respon|
|00004e40| 73 65 2e 52 65 64 69 72 | 65 63 74 28 57 65 62 53 |se.Redir|ect(WebS|
|00004e50| 65 72 76 65 72 2e 53 65 | 72 76 65 72 55 52 4c 24 |erver.Se|rverURL$|
|00004e60| 57 65 62 73 65 72 76 65 | 72 2e 41 70 70 6c 69 63 |Webserve|r.Applic|
|00004e70| 61 74 69 6f 6e 50 61 74 | 68 73 5b 57 65 62 73 65 |ationPat|hs[Webse|
|00004e80| 72 76 65 72 2e 44 65 66 | 61 75 6c 74 41 70 70 6c |rver.Def|aultAppl|
|00004e90| 69 63 61 74 69 6f 6e 5d | 24 22 2f 22 29 3b 0d 0a |ication]|$"/");..|
|00004ea0| 09 09 52 65 73 70 6f 6e | 73 65 2e 52 65 64 69 72 |..Respon|se.Redir|
|00004eb0| 65 63 74 28 57 65 62 73 | 65 72 76 65 72 2e 41 70 |ect(Webs|erver.Ap|
|00004ec0| 70 6c 69 63 61 74 69 6f | 6e 50 61 74 68 73 5b 57 |plicatio|nPaths[W|
|00004ed0| 65 62 73 65 72 76 65 72 | 2e 44 65 66 61 75 6c 74 |ebserver|.Default|
|00004ee0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 5d 24 22 2f 22 |Applicat|ion]$"/"|
|00004ef0| 29 3b 0d 0a 09 09 43 6c | 65 61 6e 75 70 28 29 3b |);....Cl|eanup();|
|00004f00| 0d 0a 09 7d 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |...}..}.|...funct|
|00004f10| 69 6f 6e 20 50 72 6f 63 | 65 73 73 50 6f 73 74 28 |ion Proc|essPost(|
|00004f20| 73 74 72 69 6e 67 20 53 | 29 0d 0a 7b 0d 0a 09 6c |string S|)..{...l|
|00004f30| 6f 63 61 6c 20 69 6e 74 | 20 69 3b 0d 0a 0d 0a 09 |ocal int| i;.....|
|00004f40| 69 66 28 52 65 71 75 65 | 73 74 20 3d 3d 20 4e 6f |if(Reque|st == No|
|00004f50| 6e 65 29 0d 0a 09 09 43 | 72 65 61 74 65 52 65 73 |ne)....C|reateRes|
|00004f60| 70 6f 6e 73 65 4f 62 6a | 65 63 74 28 29 3b 0d 0a |ponseObj|ect();..|
|00004f70| 0d 0a 09 52 65 71 75 65 | 73 74 2e 52 65 71 75 65 |...Reque|st.Reque|
|00004f80| 73 74 54 79 70 65 20 3d | 20 52 65 71 75 65 73 74 |stType =| Request|
|00004f90| 5f 50 4f 53 54 3b 0d 0a | 0d 0a 09 53 20 3d 20 4d |_POST;..|...S = M|
|00004fa0| 69 64 28 53 2c 20 35 29 | 3b 0d 0a 09 77 68 69 6c |id(S, 5)|;...whil|
|00004fb0| 65 28 4c 65 66 74 28 53 | 2c 20 31 29 20 3d 3d 20 |e(Left(S|, 1) == |
|00004fc0| 22 20 22 29 0d 0a 09 09 | 53 20 3d 20 4d 69 64 28 |" ")....|S = Mid(|
|00004fd0| 53 2c 20 31 29 3b 0d 0a | 0d 0a 09 69 20 3d 20 49 |S, 1);..|...i = I|
|00004fe0| 6e 53 74 72 28 53 2c 20 | 22 20 22 29 3b 0d 0a 0d |nStr(S, |" ");...|
|00004ff0| 0a 09 69 66 28 69 20 21 | 3d 20 2d 31 29 0d 0a 09 |..if(i !|= -1)...|
|00005000| 09 53 20 3d 20 4c 65 66 | 74 28 53 2c 20 69 29 3b |.S = Lef|t(S, i);|
|00005010| 0d 0a 0d 0a 09 69 20 3d | 20 49 6e 53 74 72 28 53 |.....i =| InStr(S|
|00005020| 2c 20 22 3f 22 29 3b 0d | 0a 09 69 66 28 69 20 21 |, "?");.|..if(i !|
|00005030| 3d 20 2d 31 29 0d 0a 09 | 7b 0d 0a 09 09 52 65 71 |= -1)...|{....Req|
|00005040| 75 65 73 74 2e 44 65 63 | 6f 64 65 46 6f 72 6d 44 |uest.Dec|odeFormD|
|00005050| 61 74 61 28 4d 69 64 28 | 53 2c 20 69 2b 31 29 29 |ata(Mid(|S, i+1))|
|00005060| 3b 0d 0a 09 09 53 20 3d | 20 4c 65 66 74 28 53 2c |;....S =| Left(S,|
|00005070| 20 69 29 3b 0d 0a 09 7d | 0d 0a 09 41 70 70 6c 69 | i);...}|...Appli|
|00005080| 63 61 74 69 6f 6e 20 3d | 20 57 65 62 53 65 72 76 |cation =| WebServ|
|00005090| 65 72 2e 47 65 74 41 70 | 70 6c 69 63 61 74 69 6f |er.GetAp|plicatio|
|000050a0| 6e 28 53 2c 20 52 65 71 | 75 65 73 74 2e 55 52 49 |n(S, Req|uest.URI|
|000050b0| 29 3b 0d 0a 09 69 66 28 | 41 70 70 6c 69 63 61 74 |);...if(|Applicat|
|000050c0| 69 6f 6e 20 21 3d 20 4e | 6f 6e 65 20 26 26 20 52 |ion != N|one && R|
|000050d0| 65 71 75 65 73 74 2e 55 | 52 49 20 3d 3d 20 22 22 |equest.U|RI == ""|
|000050e0| 29 0d 0a 09 7b 0d 0a 2f | 2f 09 09 52 65 73 70 6f |)...{../|/..Respo|
|000050f0| 6e 73 65 2e 52 65 64 69 | 72 65 63 74 28 57 65 62 |nse.Redi|rect(Web|
|00005100| 53 65 72 76 65 72 2e 53 | 65 72 76 65 72 55 52 4c |Server.S|erverURL|
|00005110| 24 53 24 22 2f 22 29 3b | 0d 0a 09 09 52 65 73 70 |$S$"/");|....Resp|
|00005120| 6f 6e 73 65 2e 52 65 64 | 69 72 65 63 74 28 53 24 |onse.Red|irect(S$|
|00005130| 22 2f 22 29 3b 0d 0a 09 | 09 43 6c 65 61 6e 75 70 |"/");...|.Cleanup|
|00005140| 28 29 3b 0d 0a 09 7d 0d | 0a 7d 0d 0a 0d 0a 66 75 |();...}.|.}....fu|
|00005150| 6e 63 74 69 6f 6e 20 43 | 72 65 61 74 65 52 65 73 |nction C|reateRes|
|00005160| 70 6f 6e 73 65 4f 62 6a | 65 63 74 28 29 0d 0a 7b |ponseObj|ect()..{|
|00005170| 0d 0a 09 52 65 71 75 65 | 73 74 20 3d 20 6e 65 77 |...Reque|st = new|
|00005180| 28 4e 6f 6e 65 29 20 63 | 6c 61 73 73 27 57 65 62 |(None) c|lass'Web|
|00005190| 52 65 71 75 65 73 74 27 | 3b 0d 0a 0d 0a 09 52 65 |Request'|;.....Re|
|000051a0| 73 70 6f 6e 73 65 20 3d | 20 6e 65 77 28 4e 6f 6e |sponse =| new(Non|
|000051b0| 65 29 20 63 6c 61 73 73 | 27 57 65 62 52 65 73 70 |e) class|'WebResp|
|000051c0| 6f 6e 73 65 27 3b 0d 0a | 09 52 65 73 70 6f 6e 73 |onse';..|.Respons|
|000051d0| 65 2e 43 6f 6e 6e 65 63 | 74 69 6f 6e 20 3d 20 53 |e.Connec|tion = S|
|000051e0| 65 6c 66 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |elf;..}.|...funct|
|000051f0| 69 6f 6e 20 45 6e 64 4f | 66 48 65 61 64 65 72 73 |ion EndO|fHeaders|
|00005200| 28 29 0d 0a 7b 0d 0a 09 | 69 66 28 52 65 73 70 6f |()..{...|if(Respo|
|00005210| 6e 73 65 20 3d 3d 20 4e | 6f 6e 65 29 0d 0a 09 7b |nse == N|one)...{|
|00005220| 0d 0a 09 09 43 72 65 61 | 74 65 52 65 73 70 6f 6e |....Crea|teRespon|
|00005230| 73 65 4f 62 6a 65 63 74 | 28 29 3b 0d 0a 09 09 52 |seObject|();....R|
|00005240| 65 73 70 6f 6e 73 65 2e | 48 54 54 50 45 72 72 6f |esponse.|HTTPErro|
|00005250| 72 28 34 30 30 29 3b 20 | 2f 2f 20 42 61 64 20 52 |r(400); |// Bad R|
|00005260| 65 71 75 65 73 74 0d 0a | 09 09 43 6c 65 61 6e 75 |equest..|..Cleanu|
|00005270| 70 28 29 3b 0d 0a 09 09 | 72 65 74 75 72 6e 3b 0d |p();....|return;.|
|00005280| 0a 09 7d 0d 0a 0d 0a 09 | 69 66 28 41 70 70 6c 69 |..}.....|if(Appli|
|00005290| 63 61 74 69 6f 6e 20 3d | 3d 20 4e 6f 6e 65 29 0d |cation =|= None).|
|000052a0| 0a 09 7b 0d 0a 09 09 52 | 65 73 70 6f 6e 73 65 2e |..{....R|esponse.|
|000052b0| 48 54 54 50 45 72 72 6f | 72 28 34 30 34 29 3b 20 |HTTPErro|r(404); |
|000052c0| 2f 2f 20 46 4e 46 0d 0a | 09 09 43 6c 65 61 6e 75 |// FNF..|..Cleanu|
|000052d0| 70 28 29 3b 0d 0a 09 09 | 72 65 74 75 72 6e 3b 0d |p();....|return;.|
|000052e0| 0a 09 7d 0d 0a 0d 0a 09 | 69 66 28 52 65 71 75 65 |..}.....|if(Reque|
|000052f0| 73 74 2e 43 6f 6e 74 65 | 6e 74 4c 65 6e 67 74 68 |st.Conte|ntLength|
|00005300| 20 21 3d 20 30 20 26 26 | 20 52 65 71 75 65 73 74 | != 0 &&| Request|
|00005310| 2e 52 65 71 75 65 73 74 | 54 79 70 65 20 3d 3d 20 |.Request|Type == |
|00005320| 52 65 71 75 65 73 74 5f | 50 4f 53 54 29 0d 0a 09 |Request_|POST)...|
|00005330| 7b 0d 0a 09 09 52 61 77 | 42 79 74 65 73 45 78 70 |{....Raw|BytesExp|
|00005340| 65 63 74 69 6e 67 20 3d | 20 52 65 71 75 65 73 74 |ecting =| Request|
|00005350| 2e 43 6f 6e 74 65 6e 74 | 4c 65 6e 67 74 68 3b 0d |.Content|Length;.|
|00005360| 0a 09 09 52 61 77 42 79 | 74 65 73 45 78 70 65 63 |...RawBy|tesExpec|
|00005370| 74 69 6e 67 20 2d 3d 20 | 4c 65 6e 28 52 65 63 65 |ting -= |Len(Rece|
|00005380| 69 76 65 64 44 61 74 61 | 29 3b 0d 0a 09 09 43 68 |ivedData|);....Ch|
|00005390| 65 63 6b 52 61 77 42 79 | 74 65 73 28 29 3b 0d 0a |eckRawBy|tes();..|
|000053a0| 09 7d 0d 0a 09 65 6c 73 | 65 0d 0a 09 7b 0d 0a 09 |.}...els|e...{...|
|000053b0| 09 69 66 20 28 41 70 70 | 6c 69 63 61 74 69 6f 6e |.if (App|lication|
|000053c0| 2e 50 72 65 51 75 65 72 | 79 28 52 65 71 75 65 73 |.PreQuer|y(Reques|
|000053d0| 74 2c 20 52 65 73 70 6f | 6e 73 65 29 29 0d 0a 09 |t, Respo|nse))...|
|000053e0| 09 7b 0d 0a 09 09 09 41 | 70 70 6c 69 63 61 74 69 |.{.....A|pplicati|
|000053f0| 6f 6e 2e 51 75 65 72 79 | 28 52 65 71 75 65 73 74 |on.Query|(Request|
|00005400| 2c 20 52 65 73 70 6f 6e | 73 65 29 3b 0d 0a 09 09 |, Respon|se);....|
|00005410| 09 41 70 70 6c 69 63 61 | 74 69 6f 6e 2e 50 6f 73 |.Applica|tion.Pos|
|00005420| 74 51 75 65 72 79 28 52 | 65 71 75 65 73 74 2c 20 |tQuery(R|equest, |
|00005430| 52 65 73 70 6f 6e 73 65 | 29 3b 0d 0a 09 09 7d 0d |Response|);....}.|
|00005440| 0a 09 09 43 6c 65 61 6e | 75 70 28 29 3b 0d 0a 09 |...Clean|up();...|
|00005450| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|00005460| 20 43 68 65 63 6b 52 61 | 77 42 79 74 65 73 28 29 | CheckRa|wBytes()|
|00005470| 0d 0a 7b 0d 0a 09 69 66 | 28 52 61 77 42 79 74 65 |..{...if|(RawByte|
|00005480| 73 45 78 70 65 63 74 69 | 6e 67 20 3c 3d 20 30 29 |sExpecti|ng <= 0)|
|00005490| 0d 0a 09 7b 0d 0a 09 09 | 69 66 28 21 28 52 65 71 |...{....|if(!(Req|
|000054a0| 75 65 73 74 2e 43 6f 6e | 74 65 6e 74 54 79 70 65 |uest.Con|tentType|
|000054b0| 20 7e 3d 20 22 61 70 70 | 6c 69 63 61 74 69 6f 6e | ~= "app|lication|
|000054c0| 2f 78 2d 77 77 77 2d 66 | 6f 72 6d 2d 75 72 6c 65 |/x-www-f|orm-urle|
|000054d0| 6e 63 6f 64 65 64 22 29 | 29 0d 0a 09 09 7b 0d 0a |ncoded")|)....{..|
|000054e0| 09 09 09 4c 6f 67 28 22 | 57 65 62 43 6f 6e 6e 65 |...Log("|WebConne|
|000054f0| 63 74 69 6f 6e 3a 20 55 | 6e 6b 6e 6f 77 6e 20 66 |ction: U|nknown f|
|00005500| 6f 72 6d 20 64 61 74 61 | 20 63 6f 6e 74 65 6e 74 |orm data| content|
|00005510| 2d 74 79 70 65 3a 20 22 | 24 52 65 71 75 65 73 74 |-type: "|$Request|
|00005520| 2e 43 6f 6e 74 65 6e 74 | 54 79 70 65 29 3b 0d 0a |.Content|Type);..|
|00005530| 09 09 09 52 65 73 70 6f | 6e 73 65 2e 48 54 54 50 |...Respo|nse.HTTP|
|00005540| 45 72 72 6f 72 28 34 30 | 30 29 3b 20 2f 2f 20 43 |Error(40|0); // C|
|00005550| 61 6e 27 74 20 64 65 61 | 6c 20 77 69 74 68 20 74 |an't dea|l with t|
|00005560| 68 69 73 20 74 79 70 65 | 20 6f 66 20 66 6f 72 6d |his type| of form|
|00005570| 20 64 61 74 61 0d 0a 09 | 09 7d 0d 0a 09 09 65 6c | data...|.}....el|
|00005580| 73 65 0d 0a 09 09 7b 0d | 0a 09 09 09 52 65 71 75 |se....{.|....Requ|
|00005590| 65 73 74 2e 44 65 63 6f | 64 65 46 6f 72 6d 44 61 |est.Deco|deFormDa|
|000055a0| 74 61 28 52 65 63 65 69 | 76 65 64 44 61 74 61 29 |ta(Recei|vedData)|
|000055b0| 3b 0d 0a 09 09 09 69 66 | 20 28 41 70 70 6c 69 63 |;.....if| (Applic|
|000055c0| 61 74 69 6f 6e 2e 50 72 | 65 51 75 65 72 79 28 52 |ation.Pr|eQuery(R|
|000055d0| 65 71 75 65 73 74 2c 20 | 52 65 73 70 6f 6e 73 65 |equest, |Response|
|000055e0| 29 29 0d 0a 09 09 09 7b | 0d 0a 09 09 09 20 20 41 |)).....{|..... A|
|000055f0| 70 70 6c 69 63 61 74 69 | 6f 6e 2e 51 75 65 72 79 |pplicati|on.Query|
|00005600| 28 52 65 71 75 65 73 74 | 2c 20 52 65 73 70 6f 6e |(Request|, Respon|
|00005610| 73 65 29 3b 0d 0a 09 09 | 09 20 20 41 70 70 6c 69 |se);....|. Appli|
|00005620| 63 61 74 69 6f 6e 2e 50 | 6f 73 74 51 75 65 72 79 |cation.P|ostQuery|
|00005630| 28 52 65 71 75 65 73 74 | 2c 20 52 65 73 70 6f 6e |(Request|, Respon|
|00005640| 73 65 29 3b 0d 0a 09 09 | 09 7d 0d 0a 09 09 09 52 |se);....|.}.....R|
|00005650| 65 63 65 69 76 65 64 44 | 61 74 61 20 3d 20 22 22 |eceivedD|ata = ""|
|00005660| 3b 0d 0a 09 09 7d 0d 0a | 09 09 43 6c 65 61 6e 75 |;....}..|..Cleanu|
|00005670| 70 28 29 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 66 |p();...}|..}....f|
|00005680| 75 6e 63 74 69 6f 6e 20 | 43 6c 65 61 6e 75 70 28 |unction |Cleanup(|
|00005690| 29 0d 0a 7b 0d 0a 09 69 | 66 20 28 62 44 65 6c 61 |)..{...i|f (bDela|
|000056a0| 79 43 6c 65 61 6e 75 70 | 29 0d 0a 09 09 72 65 74 |yCleanup|)....ret|
|000056b0| 75 72 6e 3b 0d 0a 0d 0a | 09 69 66 28 52 65 71 75 |urn;....|.if(Requ|
|000056c0| 65 73 74 20 21 3d 20 4e | 6f 6e 65 29 0d 0a 09 09 |est != N|one)....|
|000056d0| 52 65 71 75 65 73 74 20 | 3d 20 4e 6f 6e 65 3b 0d |Request |= None;.|
|000056e0| 0a 0d 0a 09 69 66 28 52 | 65 73 70 6f 6e 73 65 20 |....if(R|esponse |
|000056f0| 21 3d 20 4e 6f 6e 65 29 | 0d 0a 09 7b 0d 0a 09 09 |!= None)|...{....|
|00005700| 52 65 73 70 6f 6e 73 65 | 2e 43 6f 6e 6e 65 63 74 |Response|.Connect|
|00005710| 69 6f 6e 20 3d 20 4e 6f | 6e 65 3b 0d 0a 09 09 52 |ion = No|ne;....R|
|00005720| 65 73 70 6f 6e 73 65 20 | 3d 20 4e 6f 6e 65 3b 0d |esponse |= None;.|
|00005730| 0a 09 7d 0d 0a 0d 0a 09 | 69 66 20 28 41 70 70 6c |..}.....|if (Appl|
|00005740| 69 63 61 74 69 6f 6e 20 | 21 3d 20 4e 6f 6e 65 29 |ication |!= None)|
|00005750| 0d 0a 09 09 41 70 70 6c | 69 63 61 74 69 6f 6e 20 |....Appl|ication |
|00005760| 3d 20 4e 6f 6e 65 3b 0d | 0a 0d 0a 09 43 6c 6f 73 |= None;.|....Clos|
|00005770| 65 28 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 69 6e 61 6c |e();..}.|...final|
|00005780| 20 66 75 6e 63 74 69 6f | 6e 20 62 6f 6f 6c 20 49 | functio|n bool I|
|00005790| 73 48 61 6e 67 69 6e 67 | 28 29 0d 0a 7b 0d 0a 09 |sHanging|()..{...|
|000057a0| 72 65 74 75 72 6e 20 62 | 44 65 6c 61 79 43 6c 65 |return b|DelayCle|
|000057b0| 61 6e 75 70 3b 0d 0a 7d | 0d 0a 0d 0a 00 44 03 91 |anup;..}|.....D..|
|000057c0| 3c 00 09 31 00 00 00 00 | 20 00 00 00 c2 03 00 00 |<..1....| .......|
|000057d0| 2f 02 00 00 07 39 00 84 | 9a 39 3a 19 01 8f 05 00 |/....9..|.9:.....|
|000057e0| 01 01 96 39 3a 24 00 16 | 18 17 00 9a 39 3a 19 01 |...9:$..|....9:..|
|000057f0| 8f 05 00 01 01 96 39 3a | 24 03 16 16 61 17 16 04 |......9:|$...a...|
|00005800| 0b 07 91 00 81 2d 01 5d | 01 16 e7 1f 57 65 62 73 |.....-.]|....Webs|
|00005810| 65 72 76 65 72 20 69 73 | 20 6e 6f 74 20 65 6e 61 |erver is| not ena|
|00005820| 62 6c 65 64 2e 20 20 53 | 65 74 20 62 45 6e 61 62 |bled. S|et bEnab|
|00005830| 6c 65 64 20 74 6f 20 54 | 72 75 65 20 69 6e 20 41 |led to T|rue in A|
|00005840| 64 76 61 6e 63 65 64 20 | 4f 70 74 69 6f 6e 73 2e |dvanced |Options.|
|00005850| 00 16 61 17 16 04 0b 1c | 91 16 0f 00 09 25 07 6f |..a.....|.....%.o|
|00005860| 01 96 00 09 2c 0a 16 07 | bf 00 7a 1a 00 09 01 44 |....,...|..z....D|
|00005870| 01 1f 00 16 06 6f 01 0f | 00 2a 13 04 1c 98 1a 00 |.....o..|.*......|
|00005880| 09 01 44 01 20 8c 16 07 | 65 01 77 00 2a 2a 16 0f |..D. ...|e.w.**..|
|00005890| 1a 00 09 01 0f 11 2a 0b | 0b 00 2a 0f 19 1a 00 09 |......*.|..*.....|
|000058a0| 01 0f 05 00 04 01 32 01 | 8f 0f 19 1a 00 09 01 0f |......2.|........|
|000058b0| 05 00 04 01 41 01 17 0f | 19 1a 00 09 01 0f 05 00 |....A...|........|
|000058c0| 00 01 60 01 1a 00 09 01 | 24 19 1a 00 09 01 0f 06 |..`.....|$.......|
|000058d0| 00 00 1b 17 16 a5 00 09 | 16 06 9e 00 07 e1 01 7a |........|.......z|
|000058e0| 01 3c 1f 00 16 1b 42 01 | 00 38 16 0f 00 23 1b 41 |.<....B.|.8...#.A|
|000058f0| 01 00 38 16 0f 00 09 7e | 00 23 1f 3a 00 16 07 c8 |..8....~|.#.:....|
|00005900| 01 9b 00 09 1d ff ff ff | ff 16 0f 00 23 80 00 23 |........|....#..#|
|00005910| 00 09 16 0f 01 19 70 1f | 68 74 74 70 3a 2f 2f 00 |......p.|http://.|
|00005920| 00 23 16 06 f7 01 0f 01 | 19 70 1f 68 74 74 70 3a |.#......|.p.http:|
|00005930| 2f 2f 00 01 3c 16 07 1c | 02 9b 01 2c 2c 50 16 0f |//..<...|...,,P..|
|00005940| 01 19 70 70 01 19 1f 3a | 00 16 39 53 01 2c 16 1b |..pp...:|..9S.,..|
|00005950| 43 01 01 2c 16 1b 25 16 | 04 0b 00 00 00 02 00 02 |C..,..%.|........|
|00005960| 00 44 03 00 4b 02 00 29 | 0b 00 00 00 00 35 00 00 |.D..K..)|.....5..|
|00005970| 00 e5 04 00 00 87 01 00 | 00 0f 00 0e 25 0f 00 1f |........|....%...|
|00005980| 25 07 63 01 96 00 1f 7d | 00 29 16 16 0f 00 33 7f |%.c....}|.)....3.|
|00005990| 00 29 00 1f 26 16 05 00 | 00 33 0a 5e 00 1f 2b 00 |.)..&...|.3.^..+.|
|000059a0| 0f 1a 00 0e 00 07 70 1a | 00 0e 00 07 1f 20 00 16 |......p.|..... ..|
|000059b0| 06 59 01 0a 64 00 1f 26 | 00 0a aa 00 1f 3f 00 07 |.Y..d..&|.....?..|
|000059c0| 8c 00 7b 1a 25 00 07 1f | 00 16 1c 3e 1a 25 00 07 |..{.%...|...>.%..|
|000059d0| 1a 26 00 07 16 0f 1a 25 | 00 07 1f 00 0f 1a 26 00 |.&.....%|......&.|
|000059e0| 07 1f 00 0f 00 0e 25 06 | 59 01 0a e4 00 1f 3d 00 |......%.|Y.....=.|
|000059f0| 07 c5 00 9a 00 0e 25 16 | 0f 00 0e 26 06 e1 00 0f |......%.|...&....|
|00005a00| 1a 00 0e 00 07 70 1a 00 | 0e 00 07 1f 3d 00 16 06 |.....p..|....=...|
|00005a10| 59 01 0a 38 01 1f 25 00 | 0f 1a 00 0e 00 07 70 1a |Y..8..%.|......p.|
|00005a20| 00 0e 00 07 ec 92 90 2c | 10 1b 11 7f 00 29 a3 00 |.......,|.....)..|
|00005a30| 1f 16 26 16 16 16 1b 11 | 7f 00 29 a3 00 1f 16 26 |..&.....|..)....&|
|00005a40| 16 16 16 16 16 06 59 01 | 0a ff ff 0f 1a 00 0e 00 |......Y.|........|
|00005a50| 07 70 1a 00 0e 00 07 00 | 33 16 a5 00 1f 16 06 0e |.p......|3.......|
|00005a60| 00 07 85 01 7b 1a 25 00 | 07 1f 00 16 1c 3e 1a 25 |....{.%.|.....>.%|
|00005a70| 00 07 1a 26 00 07 16 04 | 0b 00 00 00 02 00 02 00 |...&....|........|
|00005a80| 44 03 a3 49 02 00 35 44 | 01 00 00 00 00 2e 00 00 |D..I..5D|........|
|00005a90| 00 96 03 00 00 00 01 00 | 00 0f 01 0b 70 01 0b 00 |........|....p...|
|00005aa0| 35 16 07 33 00 97 01 1d | 25 16 a2 01 1d 7d 00 35 |5..3....|%....}.5|
|00005ab0| 16 16 1b 0d 16 04 0b 07 | 52 00 7a 80 01 0b 26 16 |........|R.z...&.|
|00005ac0| ec 2c 0a 16 16 0f 01 0b | 7f 01 0b 26 16 0f 00 14 |.,......|...&....|
|00005ad0| 7e 01 0b ec 2c 0d 16 16 | 07 fe 00 9b 00 14 1d ff |~...,...|........|
|00005ae0| ff ff ff 16 0f 00 43 01 | 80 01 0b 00 14 16 a5 00 |......C.|........|
|00005af0| 14 16 07 a8 00 7a 7f 01 | 0b 00 14 26 16 ec 2c 0a |.....z..|...&..,.|
|00005b00| 16 16 a5 00 14 16 0f 01 | 0b 7f 01 0b 00 14 16 1b |........|........|
|00005b10| 15 00 43 01 16 07 d7 00 | 9b 39 3a 01 90 39 3a 24 |..C.....|.9:..9:$|
|00005b20| 04 16 04 0b 07 ea 00 97 | 01 1d 25 16 1b 0d 16 04 |........|..%.....|
|00005b30| 0b 0f 00 14 7e 01 0b ec | 2c 0d 16 16 06 63 00 04 |....~...|,....c..|
|00005b40| 0b 00 00 00 02 08 02 00 | 44 03 00 00 00 00 00 00 |........|D.......|
|00005b50| 00 00 58 09 63 6c 61 73 | 73 20 57 65 62 41 70 70 |..X.clas|s WebApp|
|00005b60| 6c 69 63 61 74 69 6f 6e | 20 65 78 74 65 6e 64 73 |lication| extends|
|00005b70| 20 4f 62 6a 65 63 74 3b | 0d 0a 0d 0a 2f 2f 20 53 | Object;|....// S|
|00005b80| 65 74 20 62 79 20 74 68 | 65 20 77 65 62 73 65 72 |et by th|e webser|
|00005b90| 76 65 72 0d 0a 76 61 72 | 20 4c 65 76 65 6c 49 6e |ver..var| LevelIn|
|00005ba0| 66 6f 20 4c 65 76 65 6c | 3b 0d 0a 76 61 72 20 57 |fo Level|;..var W|
|00005bb0| 65 62 53 65 72 76 65 72 | 20 57 65 62 53 65 72 76 |ebServer| WebServ|
|00005bc0| 65 72 3b 0d 0a 76 61 72 | 20 73 74 72 69 6e 67 20 |er;..var| string |
|00005bd0| 50 61 74 68 3b 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |Path;...|.functio|
|00005be0| 6e 20 49 6e 69 74 28 29 | 3b 0d 0a 0d 0a 2f 2f 20 |n Init()|;....// |
|00005bf0| 54 68 69 73 20 69 73 20 | 61 20 64 75 6d 6d 79 20 |This is |a dummy |
|00005c00| 66 75 6e 63 74 69 6f 6e | 20 77 68 69 63 68 20 73 |function| which s|
|00005c10| 68 6f 75 6c 64 20 6e 65 | 76 65 72 20 62 65 20 63 |hould ne|ver be c|
|00005c20| 61 6c 6c 65 64 0d 0a 2f | 2f 20 48 65 72 65 20 66 |alled../|/ Here f|
|00005c30| 6f 72 20 62 61 63 6b 77 | 61 72 64 73 20 63 6f 6d |or backw|ards com|
|00005c40| 70 61 74 69 62 69 6c 69 | 74 79 0d 0a 66 69 6e 61 |patibili|ty..fina|
|00005c50| 6c 20 66 75 6e 63 74 69 | 6f 6e 20 43 6c 65 61 6e |l functi|on Clean|
|00005c60| 75 70 28 29 3b 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |up();...|.functio|
|00005c70| 6e 20 43 6c 65 61 6e 75 | 70 41 70 70 28 29 0d 0a |n Cleanu|pApp()..|
|00005c80| 7b 0d 0a 09 69 66 20 28 | 4c 65 76 65 6c 20 21 3d |{...if (|Level !=|
|00005c90| 20 4e 6f 6e 65 29 0d 0a | 09 09 4c 65 76 65 6c 20 | None)..|..Level |
|00005ca0| 3d 20 4e 6f 6e 65 3b 0d | 0a 0d 0a 09 69 66 20 28 |= None;.|....if (|
|00005cb0| 57 65 62 53 65 72 76 65 | 72 20 21 3d 20 4e 6f 6e |WebServe|r != Non|
|00005cc0| 65 29 0d 0a 09 09 57 65 | 62 53 65 72 76 65 72 20 |e)....We|bServer |
|00005cd0| 3d 20 4e 6f 6e 65 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |= None;.|.}....fu|
|00005ce0| 6e 63 74 69 6f 6e 20 62 | 6f 6f 6c 20 50 72 65 51 |nction b|ool PreQ|
|00005cf0| 75 65 72 79 28 57 65 62 | 52 65 71 75 65 73 74 20 |uery(Web|Request |
|00005d00| 52 65 71 75 65 73 74 2c | 20 57 65 62 52 65 73 70 |Request,| WebResp|
|00005d10| 6f 6e 73 65 20 52 65 73 | 70 6f 6e 73 65 29 20 7b |onse Res|ponse) {|
|00005d20| 20 72 65 74 75 72 6e 20 | 74 72 75 65 3b 20 7d 0d | return |true; }.|
|00005d30| 0a 66 75 6e 63 74 69 6f | 6e 20 51 75 65 72 79 28 |.functio|n Query(|
|00005d40| 57 65 62 52 65 71 75 65 | 73 74 20 52 65 71 75 65 |WebReque|st Reque|
|00005d50| 73 74 2c 20 57 65 62 52 | 65 73 70 6f 6e 73 65 20 |st, WebR|esponse |
|00005d60| 52 65 73 70 6f 6e 73 65 | 29 3b 0d 0a 66 75 6e 63 |Response|);..func|
|00005d70| 74 69 6f 6e 20 50 6f 73 | 74 51 75 65 72 79 28 57 |tion Pos|tQuery(W|
|00005d80| 65 62 52 65 71 75 65 73 | 74 20 52 65 71 75 65 73 |ebReques|t Reques|
|00005d90| 74 2c 20 57 65 62 52 65 | 73 70 6f 6e 73 65 20 52 |t, WebRe|sponse R|
|00005da0| 65 73 70 6f 6e 73 65 29 | 3b 0d 0a 00 44 03 00 55 |esponse)|;...D..U|
|00005db0| 02 00 00 03 00 00 00 00 | f5 00 00 00 e6 12 00 00 |........|........|
|00005dc0| 59 00 00 00 07 0b 00 2d | 01 6f 02 04 0b 07 1d 00 |Y......-|.o......|
|00005dd0| 77 01 03 2a 16 0f 01 03 | 2a 07 3f 00 77 01 06 2a |w..*....|*.?.w..*|
|00005de0| 16 0f 19 01 06 05 00 04 | 01 13 2a 0f 01 06 2a 07 |........|..*...*.|
|00005df0| 51 00 77 01 08 2a 16 0f | 01 08 2a 1b 13 16 04 0b |Q.w..*..|..*.....|
|00005e00| 00 00 00 02 00 02 00 44 | 03 00 00 00 00 00 00 00 |.......D|........|
|00005e10| 00 7a 0b 63 6c 61 73 73 | 20 49 6d 61 67 65 53 65 |.z.class| ImageSe|
|00005e20| 72 76 65 72 20 65 78 74 | 65 6e 64 73 20 57 65 62 |rver ext|ends Web|
|00005e30| 41 70 70 6c 69 63 61 74 | 69 6f 6e 3b 0d 0a 0d 0a |Applicat|ion;....|
|00005e40| 2f 2a 20 55 73 61 67 65 | 3a 0d 0a 5b 55 57 65 62 |/* Usage|:..[UWeb|
|00005e50| 2e 57 65 62 53 65 72 76 | 65 72 5d 0d 0a 41 70 70 |.WebServ|er]..App|
|00005e60| 6c 69 63 61 74 69 6f 6e | 73 5b 30 5d 3d 22 55 57 |lication|s[0]="UW|
|00005e70| 65 62 2e 49 6d 61 67 65 | 53 65 72 76 65 72 22 0d |eb.Image|Server".|
|00005e80| 0a 41 70 70 6c 69 63 61 | 74 69 6f 6e 50 61 74 68 |.Applica|tionPath|
|00005e90| 73 5b 30 5d 3d 22 2f 69 | 6d 61 67 65 73 22 0d 0a |s[0]="/i|mages"..|
|00005ea0| 62 45 6e 61 62 6c 65 64 | 3d 54 72 75 65 0d 0a 0d |bEnabled|=True...|
|00005eb0| 0a 68 74 74 70 3a 2f 2f | 73 65 72 76 65 72 2e 69 |.http://|server.i|
|00005ec0| 70 2e 61 64 64 72 65 73 | 73 2f 69 6d 61 67 65 73 |p.addres|s/images|
|00005ed0| 2f 74 65 73 74 2e 6a 70 | 67 0d 0a 2a 2f 0d 0a 0d |/test.jp|g..*/...|
|00005ee0| 0a 65 76 65 6e 74 20 51 | 75 65 72 79 28 57 65 62 |.event Q|uery(Web|
|00005ef0| 52 65 71 75 65 73 74 20 | 52 65 71 75 65 73 74 2c |Request |Request,|
|00005f00| 20 57 65 62 52 65 73 70 | 6f 6e 73 65 20 52 65 73 | WebResp|onse Res|
|00005f10| 70 6f 6e 73 65 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |ponse)..|{...loca|
|00005f20| 6c 20 73 74 72 69 6e 67 | 20 49 6d 61 67 65 3b 0d |l string| Image;.|
|00005f30| 0a 0d 0a 09 49 6d 61 67 | 65 20 3d 20 52 65 71 75 |....Imag|e = Requ|
|00005f40| 65 73 74 2e 55 52 49 3b | 0d 0a 09 69 66 28 20 52 |est.URI;|...if( R|
|00005f50| 69 67 68 74 28 43 61 70 | 73 28 49 6d 61 67 65 29 |ight(Cap|s(Image)|
|00005f60| 2c 20 34 29 20 3d 3d 20 | 22 2e 4a 50 47 22 20 7c |, 4) == |".JPG" ||
|00005f70| 7c 20 52 69 67 68 74 28 | 43 61 70 73 28 49 6d 61 || Right(|Caps(Ima|
|00005f80| 67 65 29 2c 20 35 29 20 | 3d 3d 20 22 2e 4a 50 45 |ge), 5) |== ".JPE|
|00005f90| 47 22 20 29 0d 0a 09 7b | 0d 0a 09 09 52 65 73 70 |G" )...{|....Resp|
|00005fa0| 6f 6e 73 65 2e 53 65 6e | 64 53 74 61 6e 64 61 72 |onse.Sen|dStandar|
|00005fb0| 64 48 65 61 64 65 72 73 | 28 22 69 6d 61 67 65 2f |dHeaders|("image/|
|00005fc0| 6a 70 65 67 22 2c 20 74 | 72 75 65 29 3b 0d 0a 09 |jpeg", t|rue);...|
|00005fd0| 7d 0d 0a 09 65 6c 73 65 | 20 69 66 28 20 52 69 67 |}...else| if( Rig|
|00005fe0| 68 74 28 43 61 70 73 28 | 49 6d 61 67 65 29 2c 20 |ht(Caps(|Image), |
|00005ff0| 34 29 20 3d 3d 20 22 2e | 47 49 46 22 20 29 0d 0a |4) == ".|GIF" )..|
|00006000| 09 7b 0d 0a 09 09 52 65 | 73 70 6f 6e 73 65 2e 53 |.{....Re|sponse.S|
|00006010| 65 6e 64 53 74 61 6e 64 | 61 72 64 48 65 61 64 65 |endStand|ardHeade|
|00006020| 72 73 28 22 69 6d 61 67 | 65 2f 67 69 66 22 2c 20 |rs("imag|e/gif", |
|00006030| 74 72 75 65 29 3b 0d 0a | 09 7d 0d 0a 09 65 6c 73 |true);..|.}...els|
|00006040| 65 20 69 66 28 20 52 69 | 67 68 74 28 43 61 70 73 |e if( Ri|ght(Caps|
|00006050| 28 49 6d 61 67 65 29 2c | 20 34 29 20 3d 3d 20 22 |(Image),| 4) == "|
|00006060| 2e 42 4d 50 22 20 29 0d | 0a 09 7b 0d 0a 09 09 52 |.BMP" ).|..{....R|
|00006070| 65 73 70 6f 6e 73 65 2e | 53 65 6e 64 53 74 61 6e |esponse.|SendStan|
|00006080| 64 61 72 64 48 65 61 64 | 65 72 73 28 22 69 6d 61 |dardHead|ers("ima|
|00006090| 67 65 2f 62 6d 70 22 2c | 20 74 72 75 65 29 3b 0d |ge/bmp",| true);.|
|000060a0| 0a 09 7d 0d 0a 09 65 6c | 73 65 0d 0a 09 7b 0d 0a |..}...el|se...{..|
|000060b0| 09 09 52 65 73 70 6f 6e | 73 65 2e 48 54 54 50 45 |..Respon|se.HTTPE|
|000060c0| 72 72 6f 72 28 34 30 34 | 29 3b 0d 0a 09 09 72 65 |rror(404|);....re|
|000060d0| 74 75 72 6e 3b 0d 0a 09 | 7d 0d 0a 09 52 65 73 70 |turn;...|}...Resp|
|000060e0| 6f 6e 73 65 2e 49 6e 63 | 6c 75 64 65 42 69 6e 61 |onse.Inc|ludeBina|
|000060f0| 72 79 46 69 6c 65 28 20 | 50 61 74 68 20 24 20 49 |ryFile( |Path $ I|
|00006100| 6d 61 67 65 20 29 3b 0d | 0a 7d 0d 0a 00 04 00 52 |mage );.|.}.....R|
|00006110| 02 6a 02 3a 00 00 00 00 | ff ff ff ff ff ff ff ff |.j.:....|........|
|00006120| 00 00 00 00 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00006130| ff ff ff ff ff ff 00 00 | 00 00 12 00 00 00 00 00 |........|........|
|00006140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 08 53 |........|.......S|
|00006150| 02 01 00 00 00 b2 b9 e3 | f8 04 01 00 00 00 a5 1c |........|........|
|00006160| 67 6b 02 00 00 00 00 7e | 4c 6b c7 01 00 00 00 00 |gk.....~|Lk......|
|00006170| 40 71 1b c0 01 00 00 00 | 00 40 71 1b c0 01 00 00 |@q......|.@q.....|
|00006180| 00 00 40 71 1b c0 01 00 | 00 00 00 40 71 1b c0 01 |..@q....|...@q...|
|00006190| 00 00 00 00 40 71 1b c0 | 02 06 04 88 05 00 44 03 |....@q..|......D.|
|000061a0| 44 03 00 4e 02 00 65 01 | 11 00 00 00 00 5a 00 00 |D..N..e.|.....Z..|
|000061b0| 00 71 07 00 00 9e 00 00 | 00 05 00 eb 00 65 01 16 |.q......|.....e..|
|000061c0| 0a 11 00 1f 30 00 04 25 | 0a 19 00 1f 31 00 04 26 |....0..%|....1..&|
|000061d0| 0a 22 00 1f 32 00 04 2c | 02 0a 2b 00 1f 33 00 04 |."..2..,|..+..3..|
|000061e0| 2c 03 0a 34 00 1f 34 00 | 04 2c 04 0a 3d 00 1f 35 |,..4..4.|.,..=..5|
|000061f0| 00 04 2c 05 0a 46 00 1f | 36 00 04 2c 06 0a 4f 00 |..,..F..|6..,..O.|
|00006200| 1f 37 00 04 2c 07 0a 58 | 00 1f 38 00 04 2c 08 0a |.7..,..X|..8..,..|
|00006210| 61 00 1f 39 00 04 2c 09 | 0a 6a 00 1f 41 00 04 2c |a..9..,.|.j..A..,|
|00006220| 0a 0a 73 00 1f 42 00 04 | 2c 0b 0a 7c 00 1f 43 00 |..s..B..|,..|..C.|
|00006230| 04 2c 0c 0a 85 00 1f 44 | 00 04 2c 0d 0a 8e 00 1f |.,.....D|..,.....|
|00006240| 45 00 04 2c 0e 0a 97 00 | 1f 46 00 04 2c 0f 0a ff |E..,....|.F..,...|
|00006250| ff 04 25 04 0b 00 00 00 | 02 00 02 00 44 03 00 57 |..%.....|....D..W|
|00006260| 02 00 00 0d 00 00 00 00 | de 00 00 00 c5 10 00 00 |........|........|
|00006270| 0f 01 00 00 07 0d 01 98 | 01 1d 25 16 07 9d 00 81 |........|..%.....|
|00006280| 7c 19 01 03 05 00 00 01 | 2f 1f 61 70 70 6c 69 63 ||.......|/.applic|
|00006290| 61 74 69 6f 6e 2f 78 2d | 77 77 77 2d 66 6f 72 6d |ation/x-|www-form|
|000062a0| 2d 75 72 6c 65 6e 63 6f | 64 65 64 00 16 16 e7 70 |-urlenco|ded....p|
|000062b0| 1f 57 65 62 43 6f 6e 6e | 65 63 74 69 6f 6e 3a 20 |.WebConn|ection: |
|000062c0| 55 6e 6b 6e 6f 77 6e 20 | 66 6f 72 6d 20 64 61 74 |Unknown |form dat|
|000062d0| 61 20 63 6f 6e 74 65 6e | 74 2d 74 79 70 65 3a 20 |a conten|t-type: |
|000062e0| 00 19 01 03 05 00 00 01 | 2f 16 16 19 01 06 0b 00 |........|/.......|
|000062f0| 00 1b 08 1d 90 01 00 00 | 16 06 07 01 19 01 03 0b |........|........|
|00006300| 00 00 1b 0b 01 0b 16 07 | ff 00 19 01 08 10 00 04 |........|........|
|00006310| 1b 10 01 03 01 06 16 19 | 01 08 10 00 00 1b 0a 01 |........|........|
|00006320| 03 01 06 16 19 01 08 10 | 00 00 1b 12 01 03 01 06 |........|........|
|00006330| 16 0f 01 0b 1f 00 1b 03 | 16 04 0b 00 00 00 02 00 |........|........|
|00006340| 02 00 44 03 00 00 01 00 | 00 00 80 05 00 00 44 03 |..D.....|......D.|
|00006350| 44 03 00 58 02 00 00 19 | 00 00 00 00 bc 00 00 00 |D..X....|........|
|00006360| 57 0e 00 00 04 01 00 00 | 07 2d 00 72 01 06 2a 16 |W.......|.-.r..*.|
|00006370| 1b 0e 16 19 01 06 0b 00 | 00 1b 08 1d 90 01 00 00 |........|........|
|00006380| 16 1b 03 16 04 0b 07 54 | 00 72 01 08 2a 16 19 01 |.......T|.r..*...|
|00006390| 06 0b 00 00 1b 08 1d 94 | 01 00 00 16 1b 03 16 04 |........|........|
|000063a0| 0b 07 ae 00 82 9b 19 01 | 03 05 00 04 01 30 25 16 |........|.....0%.|
|000063b0| 18 17 00 9a 39 3a 19 01 | 03 05 00 01 01 2e 39 3a |....9:..|......9:|
|000063c0| 24 01 16 16 0f 01 1d 19 | 01 03 05 00 04 01 30 a2 |$.......|......0.|
|000063d0| 01 1d 7d 01 0b 16 16 1b | 0d 16 06 02 01 07 fc 00 |..}.....|........|
|000063e0| 19 01 08 10 00 04 1b 10 | 01 03 01 06 16 19 01 08 |........|........|
|000063f0| 10 00 00 1b 0a 01 03 01 | 06 16 19 01 08 10 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.