utls/testdata/Server-TLSv13-ALPN-NotConfigured
Filippo Valsorda 866e886415 crypto/tls: add SessionState.Extra
This can be used by applications to store additional data in a session.

Fixes #57753
For #60105

Change-Id: Ib42387ad64750fa8dbbdf51de5e9c86378bef0ee
Reviewed-on: https://go-review.googlesource.com/c/go/+/496822
Run-TryBot: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Marten Seemann <martenseemann@gmail.com>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2023-05-24 23:57:01 +00:00

99 lines
7.4 KiB
Text

>>> Flow 1 (client to server)
00000000 16 03 01 00 e2 01 00 00 de 03 03 95 24 e6 3d a7 |............$.=.|
00000010 e2 d8 ae e5 5c ad 0f a7 1e 5a 15 58 54 ca c7 0b |....\....Z.XT...|
00000020 6d 80 82 73 46 ff 0f d3 c2 9d 48 20 29 8e 42 be |m..sF.....H ).B.|
00000030 3d b4 78 d0 6c c2 a6 27 3d bd 63 08 68 a8 4f fc |=.x.l..'=.c.h.O.|
00000040 31 14 9c b4 e0 c1 e3 08 ec e5 b2 dd 00 04 13 03 |1...............|
00000050 00 ff 01 00 00 91 00 0b 00 04 03 00 01 02 00 0a |................|
00000060 00 0c 00 0a 00 1d 00 17 00 1e 00 19 00 18 00 23 |...............#|
00000070 00 00 00 10 00 10 00 0e 06 70 72 6f 74 6f 32 06 |.........proto2.|
00000080 70 72 6f 74 6f 31 00 16 00 00 00 17 00 00 00 0d |proto1..........|
00000090 00 1e 00 1c 04 03 05 03 06 03 08 07 08 08 08 09 |................|
000000a0 08 0a 08 0b 08 04 08 05 08 06 04 01 05 01 06 01 |................|
000000b0 00 2b 00 03 02 03 04 00 2d 00 02 01 01 00 33 00 |.+......-.....3.|
000000c0 26 00 24 00 1d 00 20 12 18 c0 ca 9e 9c a6 a8 28 |&.$... ........(|
000000d0 dc c9 d1 b9 ac ef 1e 82 2f 8d e5 32 fc d5 7f b0 |......../..2....|
000000e0 e4 e9 10 e0 c3 cf 5a |......Z|
>>> Flow 2 (server to client)
00000000 16 03 03 00 7a 02 00 00 76 03 03 00 00 00 00 00 |....z...v.......|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 20 29 8e 42 be |........... ).B.|
00000030 3d b4 78 d0 6c c2 a6 27 3d bd 63 08 68 a8 4f fc |=.x.l..'=.c.h.O.|
00000040 31 14 9c b4 e0 c1 e3 08 ec e5 b2 dd 13 03 00 00 |1...............|
00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 2f |..+.....3.$... /|
00000060 e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 07 30 |.}.G.bC.(.._.).0|
00000070 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b 74 14 |.........._X.;t.|
00000080 03 03 00 01 01 17 03 03 00 17 3c 49 80 85 f7 21 |..........<I...!|
00000090 bc 84 dc 56 5c bb d2 8a a4 20 17 79 02 07 74 2a |...V\.... .y..t*|
000000a0 07 17 03 03 02 6d ab 63 1b 6f 12 5c 0c 28 92 4c |.....m.c.o.\.(.L|
000000b0 78 13 bb 81 37 6c 33 52 b7 c1 5d 89 42 43 55 30 |x...7l3R..].BCU0|
000000c0 aa 81 81 ca 07 bb 0b 43 b4 97 d9 e3 d3 04 e1 5c |.......C.......\|
000000d0 66 50 68 97 55 b6 51 ad b4 21 1f e7 15 28 54 4a |fPh.U.Q..!...(TJ|
000000e0 f9 07 dd c5 2d 95 e5 9e 5c bc 82 5d 13 98 e2 8d |....-...\..]....|
000000f0 80 44 aa 22 7c 15 d6 21 cc 4c 1c d4 2e 7d a3 4a |.D."|..!.L...}.J|
00000100 1a 75 6d 54 67 0e bf ef 0d ec ad 43 27 95 45 3f |.umTg......C'.E?|
00000110 4f 0e f4 a8 71 01 db b3 67 7f 1d 85 8f 4a 32 5e |O...q...g....J2^|
00000120 c2 4f 81 86 8d 2d f3 dd f2 35 2b a5 c3 04 d2 fb |.O...-...5+.....|
00000130 1c b7 61 45 79 aa 38 3f 46 85 0a 0e 50 ba 21 cc |..aEy.8?F...P.!.|
00000140 7e 30 87 2a 8b da 84 af 7d aa 5c ab 67 b4 1b 8c |~0.*....}.\.g...|
00000150 d3 ac 62 29 3e 91 5f 68 90 fd 1d 64 6c 44 8a 55 |..b)>._h...dlD.U|
00000160 18 52 e2 df 69 87 42 5d ca 1c 03 27 58 c2 75 3e |.R..i.B]...'X.u>|
00000170 1b fc 23 b5 70 63 60 0e 93 be 51 7f 31 88 66 1e |..#.pc`...Q.1.f.|
00000180 98 eb d3 ad 8e a5 fa 40 24 61 e4 bb 5f 22 67 00 |.......@$a.._"g.|
00000190 1a 79 18 e0 41 53 b2 c6 39 a4 68 e1 e0 ca cc 79 |.y..AS..9.h....y|
000001a0 fd 32 e5 d5 1c 8e 7d 5e c1 9f 7b 8c 81 3c fd 2a |.2....}^..{..<.*|
000001b0 13 63 fa 6c 70 e1 e5 04 e2 ec 9f 3b b3 b5 38 b5 |.c.lp......;..8.|
000001c0 10 0c fc 9f 7c 87 e9 6e 1d b9 d0 ab 86 64 b1 3b |....|..n.....d.;|
000001d0 9c 4e 5e fb 7a aa e8 44 b8 94 fe 66 5e bb 19 7e |.N^.z..D...f^..~|
000001e0 3d 38 b3 ea 8a bc ac 43 80 36 7c 04 64 04 6c 6c |=8.....C.6|.d.ll|
000001f0 d6 d2 42 39 c8 f3 77 dc ba 05 63 18 d7 44 73 b1 |..B9..w...c..Ds.|
00000200 b9 4e e4 76 d2 79 09 80 60 59 bd 57 2d 4c b1 c9 |.N.v.y..`Y.W-L..|
00000210 0c 2c e8 3c bd 3e 81 20 32 25 d8 88 4a 63 47 0d |.,.<.>. 2%..JcG.|
00000220 c4 98 71 ed 25 72 e8 71 47 20 0e 5d e9 5f b0 65 |..q.%r.qG .]._.e|
00000230 ca ea 45 d5 f8 b8 d1 1b cb ba 19 e3 c9 d1 7c 44 |..E...........|D|
00000240 81 93 95 70 cc d0 1c 89 01 bb c2 b7 48 ac 8d 3e |...p........H..>|
00000250 b6 3a ae 98 5c 15 88 23 f0 90 f5 12 4e 2d c2 d1 |.:..\..#....N-..|
00000260 09 00 01 c4 da 50 36 00 b8 61 10 78 53 9f b1 a8 |.....P6..a.xS...|
00000270 de 6c 75 78 0d 49 6f d7 00 e3 58 80 38 b8 67 9a |.lux.Io...X.8.g.|
00000280 07 c3 fb 98 8e f3 74 ad 6c 07 a7 33 3b 13 fb f7 |......t.l..3;...|
00000290 f4 26 57 c0 01 c7 2d 47 01 80 95 27 10 08 55 83 |.&W...-G...'..U.|
000002a0 a9 18 5f e1 4e ff 4e 22 23 f6 91 f3 e4 36 8b eb |.._.N.N"#....6..|
000002b0 78 a8 7f 27 f2 c0 10 a1 54 d2 f8 64 66 e8 6b a4 |x..'....T..df.k.|
000002c0 36 0a 0c 4b a2 d2 4b c5 f9 1e 5d fb 31 22 60 77 |6..K..K...].1"`w|
000002d0 a6 df f2 cc 0b 86 c7 56 19 12 58 e7 a2 17 af 99 |.......V..X.....|
000002e0 d7 52 8f 79 fe 86 95 1f 0b 8d 54 5c 61 af 36 45 |.R.y......T\a.6E|
000002f0 9b d8 7c 6e 79 c7 c5 3b e8 19 f9 63 02 81 56 c5 |..|ny..;...c..V.|
00000300 a2 ec a3 db bd 6c 2a 40 c3 21 49 fe 8f 5f e7 aa |.....l*@.!I.._..|
00000310 b4 fc fe 17 03 03 00 99 1a b2 6f d0 ef 20 9f 93 |..........o.. ..|
00000320 2a 3f 51 11 fc 27 04 86 15 24 6f 06 29 8b da 20 |*?Q..'...$o.).. |
00000330 c4 a4 17 ba cf 2d 7c 63 80 58 92 62 e6 20 a0 93 |.....-|c.X.b. ..|
00000340 ad d7 81 0f 8b e2 fe d4 80 6f 8a 07 8a 31 ab cc |.........o...1..|
00000350 72 bd bd b2 e6 f1 4b ac 02 39 29 dd 76 53 61 a0 |r.....K..9).vSa.|
00000360 b3 b6 ae 50 00 1b c6 dd d3 0d 55 18 f2 a9 83 03 |...P......U.....|
00000370 4c d2 aa 65 78 cd 97 45 a7 f1 10 bf a5 22 2d b2 |L..ex..E....."-.|
00000380 32 e7 26 89 d6 d6 de 40 9b d0 49 db e6 d2 c5 5d |2.&....@..I....]|
00000390 8b 92 df 79 1a 6f 9f 01 66 f4 ae 55 0c 0c 53 b6 |...y.o..f..U..S.|
000003a0 13 c7 1b 77 bc ca 28 73 76 81 78 e8 18 30 ab 62 |...w..(sv.x..0.b|
000003b0 b2 17 03 03 00 35 ad cb 0e f2 f1 9c ac c0 d4 cb |.....5..........|
000003c0 dd 48 27 14 7f 4b 57 4f 92 ef 6f f0 39 9c d7 a2 |.H'..KWO..o.9...|
000003d0 7e 63 0d d5 cb 79 d6 cc de b8 d6 1f 2b 2d f6 b4 |~c...y......+-..|
000003e0 f1 ab c7 95 b5 e0 ea 77 46 45 9d 17 03 03 00 86 |.......wFE......|
000003f0 13 b5 fa 20 fe a5 15 2d 3c cd 75 03 00 e5 b4 b9 |... ...-<.u.....|
00000400 20 db 06 4f 91 93 03 d0 32 af 05 2c 18 da c0 b2 | ..O....2..,....|
00000410 fe aa 85 51 73 55 87 fb 01 1a 23 80 11 10 c0 6c |...QsU....#....l|
00000420 8f 3d ff a9 12 67 bc ec 4f 3b ea f0 32 54 87 17 |.=...g..O;..2T..|
00000430 71 df 51 b9 44 1e 63 80 eb e3 e1 1b 0d 56 d1 91 |q.Q.D.c......V..|
00000440 b7 ff 6d 63 70 54 d3 54 bc 0b a2 42 b6 97 fb 6d |..mcpT.T...B...m|
00000450 8d 5f d3 bc ff b2 a7 f2 1a c6 ca 57 98 97 8e fd |._.........W....|
00000460 21 59 38 b0 3e b0 86 42 48 cc 8b 7d a4 14 1a 42 |!Y8.>..BH..}...B|
00000470 76 c9 93 c0 b9 74 |v....t|
>>> Flow 3 (client to server)
00000000 14 03 03 00 01 01 17 03 03 00 35 3b 57 39 f5 9c |..........5;W9..|
00000010 b7 99 0e 51 5e fb 2d d4 01 5d f3 de 06 82 d0 c4 |...Q^.-..]......|
00000020 50 65 e8 83 8a 13 91 a1 c2 37 b6 6c 77 31 2d 67 |Pe.......7.lw1-g|
00000030 f4 d4 4f 9a e3 51 eb b6 c4 6c 91 3a f2 e7 0d 67 |..O..Q...l.:...g|
>>> Flow 4 (server to client)
00000000 17 03 03 00 1e bf ec f8 67 db ef c8 61 9f d0 19 |........g...a...|
00000010 e4 71 84 5a d2 23 b7 e4 9b c3 dd ef b0 4c d8 e9 |.q.Z.#.......L..|
00000020 a5 dc 67 17 03 03 00 13 73 bd 59 16 25 e6 2a ef |..g.....s.Y.%.*.|
00000030 0c a6 af a8 48 cb f6 38 39 71 1d |....H..89q.|