mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Added new HTTP headers and WSI tokens:
- "access-control-request-headers:" <-- WSI_TOKEN_HTTP_AC_REQUEST_HEADERS - "if-none-match:" <-- WSI_TOKEN_HTTP_IF_NONE_MATCH
This commit is contained in:
parent
dfca3abfa1
commit
4220327520
4 changed files with 179 additions and 126 deletions
299
lib/lextable.h
299
lib/lextable.h
|
@ -7,16 +7,16 @@
|
|||
0x6F /* 'o' */, 0x99, 0x00 /* (to 0x00AB state 64) */,
|
||||
0x0D /* '.' */, 0xA5, 0x00 /* (to 0x00BA state 77) */,
|
||||
0x61 /* 'a' */, 0xDC, 0x00 /* (to 0x00F4 state 127) */,
|
||||
0x69 /* 'i' */, 0xED, 0x00 /* (to 0x0108 state 134) */,
|
||||
0x64 /* 'd' */, 0x5A, 0x01 /* (to 0x0178 state 225) */,
|
||||
0x72 /* 'r' */, 0x5D, 0x01 /* (to 0x017E state 230) */,
|
||||
0x69 /* 'i' */, 0x0F, 0x01 /* (to 0x012A state 161) */,
|
||||
0x64 /* 'd' */, 0x8E, 0x01 /* (to 0x01AC state 270) */,
|
||||
0x72 /* 'r' */, 0x91, 0x01 /* (to 0x01B2 state 275) */,
|
||||
0x08, /* fail */
|
||||
/* pos 0025: 1 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0026: 2 */ 0xF4 /* 't' -> */,
|
||||
/* pos 0027: 3 */ 0xA0 /* ' ' -> */,
|
||||
/* pos 0028: 4 */ 0x00, 0x00 /* - terminal marker 0 - */,
|
||||
/* pos 002a: 5 */ 0x6F /* 'o' */, 0x07, 0x00 /* (to 0x0031 state 6) */,
|
||||
0x72 /* 'r' */, 0x09, 0x01 /* (to 0x0136 state 171) */,
|
||||
0x72 /* 'r' */, 0x3D, 0x01 /* (to 0x016A state 216) */,
|
||||
0x08, /* fail */
|
||||
/* pos 0031: 6 */ 0xF3 /* 's' -> */,
|
||||
/* pos 0032: 7 */ 0xF4 /* 't' -> */,
|
||||
|
@ -30,13 +30,13 @@
|
|||
/* pos 003f: 13 */ 0xBA /* ':' -> */,
|
||||
/* pos 0040: 14 */ 0x00, 0x02 /* - terminal marker 2 - */,
|
||||
/* pos 0042: 15 */ 0x6F /* 'o' */, 0x07, 0x00 /* (to 0x0049 state 16) */,
|
||||
0x61 /* 'a' */, 0xF8, 0x00 /* (to 0x013D state 177) */,
|
||||
0x61 /* 'a' */, 0x2C, 0x01 /* (to 0x0171 state 222) */,
|
||||
0x08, /* fail */
|
||||
/* pos 0049: 16 */ 0x6E /* 'n' */, 0x07, 0x00 /* (to 0x0050 state 17) */,
|
||||
0x6F /* 'o' */, 0x0D, 0x01 /* (to 0x0159 state 203) */,
|
||||
0x6F /* 'o' */, 0x41, 0x01 /* (to 0x018D state 248) */,
|
||||
0x08, /* fail */
|
||||
/* pos 0050: 17 */ 0x6E /* 'n' */, 0x07, 0x00 /* (to 0x0057 state 18) */,
|
||||
0x74 /* 't' */, 0x0C, 0x01 /* (to 0x015F state 208) */,
|
||||
0x74 /* 't' */, 0x40, 0x01 /* (to 0x0193 state 253) */,
|
||||
0x08, /* fail */
|
||||
/* pos 0057: 18 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0058: 19 */ 0xE3 /* 'c' -> */,
|
||||
|
@ -159,129 +159,176 @@
|
|||
/* pos 00f1: 125 */ 0xA0 /* ' ' -> */,
|
||||
/* pos 00f2: 126 */ 0x00, 0x11 /* - terminal marker 17 - */,
|
||||
/* pos 00f4: 127 */ 0x63 /* 'c' */, 0x07, 0x00 /* (to 0x00FB state 128) */,
|
||||
0x75 /* 'u' */, 0x54, 0x00 /* (to 0x014B state 190) */,
|
||||
0x75 /* 'u' */, 0x88, 0x00 /* (to 0x017F state 235) */,
|
||||
0x08, /* fail */
|
||||
/* pos 00fb: 128 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 00fc: 129 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 00fd: 130 */ 0xF0 /* 'p' -> */,
|
||||
/* pos 00fe: 131 */ 0xF4 /* 't' -> */,
|
||||
/* pos 00ff: 132 */ 0x3A /* ':' */, 0x07, 0x00 /* (to 0x0106 state 133) */,
|
||||
0x2D /* '-' */, 0x19, 0x00 /* (to 0x011B state 152) */,
|
||||
/* pos 00fd: 130 */ 0x70 /* 'p' */, 0x07, 0x00 /* (to 0x0104 state 131) */,
|
||||
0x73 /* 's' */, 0x0E, 0x00 /* (to 0x010E state 134) */,
|
||||
0x08, /* fail */
|
||||
/* pos 0106: 133 */ 0x00, 0x12 /* - terminal marker 18 - */,
|
||||
/* pos 0108: 134 */ 0xE6 /* 'f' -> */,
|
||||
/* pos 0109: 135 */ 0xAD /* '-' -> */,
|
||||
/* pos 010a: 136 */ 0xED /* 'm' -> */,
|
||||
/* pos 010b: 137 */ 0xEF /* 'o' -> */,
|
||||
/* pos 010c: 138 */ 0xE4 /* 'd' -> */,
|
||||
/* pos 010d: 139 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 010e: 140 */ 0xE6 /* 'f' -> */,
|
||||
/* pos 010f: 141 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 0110: 142 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0111: 143 */ 0xE4 /* 'd' -> */,
|
||||
/* pos 0112: 144 */ 0xAD /* '-' -> */,
|
||||
/* pos 0113: 145 */ 0xF3 /* 's' -> */,
|
||||
/* pos 0114: 146 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 0115: 147 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0116: 148 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 0117: 149 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0118: 150 */ 0xBA /* ':' -> */,
|
||||
/* pos 0119: 151 */ 0x00, 0x13 /* - terminal marker 19 - */,
|
||||
/* pos 011b: 152 */ 0x65 /* 'e' */, 0x07, 0x00 /* (to 0x0122 state 153) */,
|
||||
0x6C /* 'l' */, 0x0E, 0x00 /* (to 0x012C state 162) */,
|
||||
/* pos 0104: 131 */ 0xF4 /* 't' -> */,
|
||||
/* pos 0105: 132 */ 0x3A /* ':' */, 0x07, 0x00 /* (to 0x010C state 133) */,
|
||||
0x2D /* '-' */, 0x57, 0x00 /* (to 0x015F state 206) */,
|
||||
0x08, /* fail */
|
||||
/* pos 0122: 153 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0123: 154 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 0124: 155 */ 0xEF /* 'o' -> */,
|
||||
/* pos 0125: 156 */ 0xE4 /* 'd' -> */,
|
||||
/* pos 0126: 157 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 0127: 158 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0128: 159 */ 0xE7 /* 'g' -> */,
|
||||
/* pos 0129: 160 */ 0xBA /* ':' -> */,
|
||||
/* pos 012a: 161 */ 0x00, 0x14 /* - terminal marker 20 - */,
|
||||
/* pos 012c: 162 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 012d: 163 */ 0xEE /* 'n' -> */,
|
||||
/* pos 012e: 164 */ 0xE7 /* 'g' -> */,
|
||||
/* pos 012f: 165 */ 0xF5 /* 'u' -> */,
|
||||
/* pos 0130: 166 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 0131: 167 */ 0xE7 /* 'g' -> */,
|
||||
/* pos 0132: 168 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0133: 169 */ 0xBA /* ':' -> */,
|
||||
/* pos 0134: 170 */ 0x00, 0x15 /* - terminal marker 21 - */,
|
||||
/* pos 0136: 171 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 0137: 172 */ 0xE7 /* 'g' -> */,
|
||||
/* pos 0138: 173 */ 0xED /* 'm' -> */,
|
||||
/* pos 0139: 174 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 013a: 175 */ 0xBA /* ':' -> */,
|
||||
/* pos 013b: 176 */ 0x00, 0x16 /* - terminal marker 22 - */,
|
||||
/* pos 013d: 177 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 013e: 178 */ 0xE8 /* 'h' -> */,
|
||||
/* pos 013f: 179 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0140: 180 */ 0xAD /* '-' -> */,
|
||||
/* pos 0141: 181 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 0142: 182 */ 0xEF /* 'o' -> */,
|
||||
/* pos 0143: 183 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0144: 184 */ 0xF4 /* 't' -> */,
|
||||
/* pos 0145: 185 */ 0xF2 /* 'r' -> */,
|
||||
/* pos 0146: 186 */ 0xEF /* 'o' -> */,
|
||||
/* pos 0147: 187 */ 0xEC /* 'l' -> */,
|
||||
/* pos 0148: 188 */ 0xBA /* ':' -> */,
|
||||
/* pos 0149: 189 */ 0x00, 0x17 /* - terminal marker 23 - */,
|
||||
/* pos 014b: 190 */ 0xF4 /* 't' -> */,
|
||||
/* pos 014c: 191 */ 0xE8 /* 'h' -> */,
|
||||
/* pos 014d: 192 */ 0xEF /* 'o' -> */,
|
||||
/* pos 014e: 193 */ 0xF2 /* 'r' -> */,
|
||||
/* pos 014f: 194 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 0150: 195 */ 0xFA /* 'z' -> */,
|
||||
/* pos 0151: 196 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 0152: 197 */ 0xF4 /* 't' -> */,
|
||||
/* pos 0153: 198 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 0154: 199 */ 0xEF /* 'o' -> */,
|
||||
/* pos 0155: 200 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0156: 201 */ 0xBA /* ':' -> */,
|
||||
/* pos 0157: 202 */ 0x00, 0x18 /* - terminal marker 24 - */,
|
||||
/* pos 0159: 203 */ 0xEB /* 'k' -> */,
|
||||
/* pos 015a: 204 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 015b: 205 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 015c: 206 */ 0xBA /* ':' -> */,
|
||||
/* pos 015d: 207 */ 0x00, 0x19 /* - terminal marker 25 - */,
|
||||
/* pos 015f: 208 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0160: 209 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0161: 210 */ 0xF4 /* 't' -> */,
|
||||
/* pos 0162: 211 */ 0xAD /* '-' -> */,
|
||||
/* pos 0163: 212 */ 0x6C /* 'l' */, 0x07, 0x00 /* (to 0x016A state 213) */,
|
||||
0x74 /* 't' */, 0x0C, 0x00 /* (to 0x0172 state 220) */,
|
||||
/* pos 010c: 133 */ 0x00, 0x12 /* - terminal marker 18 - */,
|
||||
/* pos 010e: 134 */ 0xF3 /* 's' -> */,
|
||||
/* pos 010f: 135 */ 0xAD /* '-' -> */,
|
||||
/* pos 0110: 136 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 0111: 137 */ 0xEF /* 'o' -> */,
|
||||
/* pos 0112: 138 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0113: 139 */ 0xF4 /* 't' -> */,
|
||||
/* pos 0114: 140 */ 0xF2 /* 'r' -> */,
|
||||
/* pos 0115: 141 */ 0xEF /* 'o' -> */,
|
||||
/* pos 0116: 142 */ 0xEC /* 'l' -> */,
|
||||
/* pos 0117: 143 */ 0xAD /* '-' -> */,
|
||||
/* pos 0118: 144 */ 0xF2 /* 'r' -> */,
|
||||
/* pos 0119: 145 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 011a: 146 */ 0xF1 /* 'q' -> */,
|
||||
/* pos 011b: 147 */ 0xF5 /* 'u' -> */,
|
||||
/* pos 011c: 148 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 011d: 149 */ 0xF3 /* 's' -> */,
|
||||
/* pos 011e: 150 */ 0xF4 /* 't' -> */,
|
||||
/* pos 011f: 151 */ 0xAD /* '-' -> */,
|
||||
/* pos 0120: 152 */ 0xE8 /* 'h' -> */,
|
||||
/* pos 0121: 153 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0122: 154 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 0123: 155 */ 0xE4 /* 'd' -> */,
|
||||
/* pos 0124: 156 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0125: 157 */ 0xF2 /* 'r' -> */,
|
||||
/* pos 0126: 158 */ 0xF3 /* 's' -> */,
|
||||
/* pos 0127: 159 */ 0xBA /* ':' -> */,
|
||||
/* pos 0128: 160 */ 0x00, 0x13 /* - terminal marker 19 - */,
|
||||
/* pos 012a: 161 */ 0xE6 /* 'f' -> */,
|
||||
/* pos 012b: 162 */ 0xAD /* '-' -> */,
|
||||
/* pos 012c: 163 */ 0x6D /* 'm' */, 0x07, 0x00 /* (to 0x0133 state 164) */,
|
||||
0x6E /* 'n' */, 0x14, 0x00 /* (to 0x0143 state 179) */,
|
||||
0x08, /* fail */
|
||||
/* pos 016a: 213 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 016b: 214 */ 0xEE /* 'n' -> */,
|
||||
/* pos 016c: 215 */ 0xE7 /* 'g' -> */,
|
||||
/* pos 016d: 216 */ 0xF4 /* 't' -> */,
|
||||
/* pos 016e: 217 */ 0xE8 /* 'h' -> */,
|
||||
/* pos 016f: 218 */ 0xBA /* ':' -> */,
|
||||
/* pos 0170: 219 */ 0x00, 0x1A /* - terminal marker 26 - */,
|
||||
/* pos 0172: 220 */ 0xF9 /* 'y' -> */,
|
||||
/* pos 0173: 221 */ 0xF0 /* 'p' -> */,
|
||||
/* pos 0174: 222 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0175: 223 */ 0xBA /* ':' -> */,
|
||||
/* pos 0176: 224 */ 0x00, 0x1B /* - terminal marker 27 - */,
|
||||
/* pos 0178: 225 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 0179: 226 */ 0xF4 /* 't' -> */,
|
||||
/* pos 017a: 227 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 017b: 228 */ 0xBA /* ':' -> */,
|
||||
/* pos 017c: 229 */ 0x00, 0x1C /* - terminal marker 28 - */,
|
||||
/* pos 017e: 230 */ 0x61 /* 'a' */, 0x07, 0x00 /* (to 0x0185 state 231) */,
|
||||
0x65 /* 'e' */, 0x0A, 0x00 /* (to 0x018B state 236) */,
|
||||
/* pos 0133: 164 */ 0xEF /* 'o' -> */,
|
||||
/* pos 0134: 165 */ 0xE4 /* 'd' -> */,
|
||||
/* pos 0135: 166 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 0136: 167 */ 0xE6 /* 'f' -> */,
|
||||
/* pos 0137: 168 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 0138: 169 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0139: 170 */ 0xE4 /* 'd' -> */,
|
||||
/* pos 013a: 171 */ 0xAD /* '-' -> */,
|
||||
/* pos 013b: 172 */ 0xF3 /* 's' -> */,
|
||||
/* pos 013c: 173 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 013d: 174 */ 0xEE /* 'n' -> */,
|
||||
/* pos 013e: 175 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 013f: 176 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0140: 177 */ 0xBA /* ':' -> */,
|
||||
/* pos 0141: 178 */ 0x00, 0x14 /* - terminal marker 20 - */,
|
||||
/* pos 0143: 179 */ 0xEF /* 'o' -> */,
|
||||
/* pos 0144: 180 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0145: 181 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0146: 182 */ 0xAD /* '-' -> */,
|
||||
/* pos 0147: 183 */ 0xED /* 'm' -> */,
|
||||
/* pos 0148: 184 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 0149: 185 */ 0xF4 /* 't' -> */,
|
||||
/* pos 014a: 186 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 014b: 187 */ 0xE8 /* 'h' -> */,
|
||||
/* pos 014c: 188 */ 0xBA /* ':' -> */,
|
||||
/* pos 014d: 189 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 014e: 190 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 014f: 191 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 0150: 192 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0151: 193 */ 0xF0 /* 'p' -> */,
|
||||
/* pos 0152: 194 */ 0xF4 /* 't' -> */,
|
||||
/* pos 0153: 195 */ 0xAD /* '-' -> */,
|
||||
/* pos 0154: 196 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0155: 197 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0156: 198 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 0157: 199 */ 0xEF /* 'o' -> */,
|
||||
/* pos 0158: 200 */ 0xE4 /* 'd' -> */,
|
||||
/* pos 0159: 201 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 015a: 202 */ 0xEE /* 'n' -> */,
|
||||
/* pos 015b: 203 */ 0xE7 /* 'g' -> */,
|
||||
/* pos 015c: 204 */ 0xBA /* ':' -> */,
|
||||
/* pos 015d: 205 */ 0x00, 0x15 /* - terminal marker 21 - */,
|
||||
/* pos 015f: 206 */ 0xEC /* 'l' -> */,
|
||||
/* pos 0160: 207 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 0161: 208 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0162: 209 */ 0xE7 /* 'g' -> */,
|
||||
/* pos 0163: 210 */ 0xF5 /* 'u' -> */,
|
||||
/* pos 0164: 211 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 0165: 212 */ 0xE7 /* 'g' -> */,
|
||||
/* pos 0166: 213 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0167: 214 */ 0xBA /* ':' -> */,
|
||||
/* pos 0168: 215 */ 0x00, 0x16 /* - terminal marker 22 - */,
|
||||
/* pos 016a: 216 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 016b: 217 */ 0xE7 /* 'g' -> */,
|
||||
/* pos 016c: 218 */ 0xED /* 'm' -> */,
|
||||
/* pos 016d: 219 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 016e: 220 */ 0xBA /* ':' -> */,
|
||||
/* pos 016f: 221 */ 0x00, 0x17 /* - terminal marker 23 - */,
|
||||
/* pos 0171: 222 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 0172: 223 */ 0xE8 /* 'h' -> */,
|
||||
/* pos 0173: 224 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0174: 225 */ 0xAD /* '-' -> */,
|
||||
/* pos 0175: 226 */ 0xE3 /* 'c' -> */,
|
||||
/* pos 0176: 227 */ 0xEF /* 'o' -> */,
|
||||
/* pos 0177: 228 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0178: 229 */ 0xF4 /* 't' -> */,
|
||||
/* pos 0179: 230 */ 0xF2 /* 'r' -> */,
|
||||
/* pos 017a: 231 */ 0xEF /* 'o' -> */,
|
||||
/* pos 017b: 232 */ 0xEC /* 'l' -> */,
|
||||
/* pos 017c: 233 */ 0xBA /* ':' -> */,
|
||||
/* pos 017d: 234 */ 0x00, 0x18 /* - terminal marker 24 - */,
|
||||
/* pos 017f: 235 */ 0xF4 /* 't' -> */,
|
||||
/* pos 0180: 236 */ 0xE8 /* 'h' -> */,
|
||||
/* pos 0181: 237 */ 0xEF /* 'o' -> */,
|
||||
/* pos 0182: 238 */ 0xF2 /* 'r' -> */,
|
||||
/* pos 0183: 239 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 0184: 240 */ 0xFA /* 'z' -> */,
|
||||
/* pos 0185: 241 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 0186: 242 */ 0xF4 /* 't' -> */,
|
||||
/* pos 0187: 243 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 0188: 244 */ 0xEF /* 'o' -> */,
|
||||
/* pos 0189: 245 */ 0xEE /* 'n' -> */,
|
||||
/* pos 018a: 246 */ 0xBA /* ':' -> */,
|
||||
/* pos 018b: 247 */ 0x00, 0x19 /* - terminal marker 25 - */,
|
||||
/* pos 018d: 248 */ 0xEB /* 'k' -> */,
|
||||
/* pos 018e: 249 */ 0xE9 /* 'i' -> */,
|
||||
/* pos 018f: 250 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0190: 251 */ 0xBA /* ':' -> */,
|
||||
/* pos 0191: 252 */ 0x00, 0x1A /* - terminal marker 26 - */,
|
||||
/* pos 0193: 253 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0194: 254 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0195: 255 */ 0xF4 /* 't' -> */,
|
||||
/* pos 0196: 256 */ 0xAD /* '-' -> */,
|
||||
/* pos 0197: 257 */ 0x6C /* 'l' */, 0x07, 0x00 /* (to 0x019E state 258) */,
|
||||
0x74 /* 't' */, 0x0C, 0x00 /* (to 0x01A6 state 265) */,
|
||||
0x08, /* fail */
|
||||
/* pos 0185: 231 */ 0xEE /* 'n' -> */,
|
||||
/* pos 0186: 232 */ 0xE7 /* 'g' -> */,
|
||||
/* pos 0187: 233 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 0188: 234 */ 0xBA /* ':' -> */,
|
||||
/* pos 0189: 235 */ 0x00, 0x1D /* - terminal marker 29 - */,
|
||||
/* pos 018b: 236 */ 0xE6 /* 'f' -> */,
|
||||
/* pos 018c: 237 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 018d: 238 */ 0xF2 /* 'r' -> */,
|
||||
/* pos 018e: 239 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 018f: 240 */ 0xF2 /* 'r' -> */,
|
||||
/* pos 0190: 241 */ 0xBA /* ':' -> */,
|
||||
/* pos 0191: 242 */ 0x00, 0x1E /* - terminal marker 30 - */,
|
||||
/* total size 403 bytes */
|
||||
/* pos 019e: 258 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 019f: 259 */ 0xEE /* 'n' -> */,
|
||||
/* pos 01a0: 260 */ 0xE7 /* 'g' -> */,
|
||||
/* pos 01a1: 261 */ 0xF4 /* 't' -> */,
|
||||
/* pos 01a2: 262 */ 0xE8 /* 'h' -> */,
|
||||
/* pos 01a3: 263 */ 0xBA /* ':' -> */,
|
||||
/* pos 01a4: 264 */ 0x00, 0x1B /* - terminal marker 27 - */,
|
||||
/* pos 01a6: 265 */ 0xF9 /* 'y' -> */,
|
||||
/* pos 01a7: 266 */ 0xF0 /* 'p' -> */,
|
||||
/* pos 01a8: 267 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 01a9: 268 */ 0xBA /* ':' -> */,
|
||||
/* pos 01aa: 269 */ 0x00, 0x1C /* - terminal marker 28 - */,
|
||||
/* pos 01ac: 270 */ 0xE1 /* 'a' -> */,
|
||||
/* pos 01ad: 271 */ 0xF4 /* 't' -> */,
|
||||
/* pos 01ae: 272 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 01af: 273 */ 0xBA /* ':' -> */,
|
||||
/* pos 01b0: 274 */ 0x00, 0x1D /* - terminal marker 29 - */,
|
||||
/* pos 01b2: 275 */ 0x61 /* 'a' */, 0x07, 0x00 /* (to 0x01B9 state 276) */,
|
||||
0x65 /* 'e' */, 0x0A, 0x00 /* (to 0x01BF state 281) */,
|
||||
0x08, /* fail */
|
||||
/* pos 01b9: 276 */ 0xEE /* 'n' -> */,
|
||||
/* pos 01ba: 277 */ 0xE7 /* 'g' -> */,
|
||||
/* pos 01bb: 278 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 01bc: 279 */ 0xBA /* ':' -> */,
|
||||
/* pos 01bd: 280 */ 0x00, 0x1E /* - terminal marker 30 - */,
|
||||
/* pos 01bf: 281 */ 0xE6 /* 'f' -> */,
|
||||
/* pos 01c0: 282 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 01c1: 283 */ 0xF2 /* 'r' -> */,
|
||||
/* pos 01c2: 284 */ 0xE5 /* 'e' -> */,
|
||||
/* pos 01c3: 285 */ 0xF2 /* 'r' -> */,
|
||||
/* pos 01c4: 286 */ 0xBA /* ':' -> */,
|
||||
/* pos 01c5: 287 */ 0x00, 0x1F /* - terminal marker 31 - */,
|
||||
/* total size 455 bytes */
|
||||
|
|
|
@ -304,7 +304,9 @@ enum lws_token_indexes {
|
|||
|
||||
/* http-related */
|
||||
WSI_TOKEN_HTTP_ACCEPT,
|
||||
WSI_TOKEN_HTTP_AC_REQUEST_HEADERS,
|
||||
WSI_TOKEN_HTTP_IF_MODIFIED_SINCE,
|
||||
WSI_TOKEN_HTTP_IF_NONE_MATCH,
|
||||
WSI_TOKEN_HTTP_ACCEPT_ENCODING,
|
||||
WSI_TOKEN_HTTP_ACCEPT_LANGUAGE,
|
||||
WSI_TOKEN_HTTP_PRAGMA,
|
||||
|
|
|
@ -42,7 +42,9 @@ const char *set[] = {
|
|||
"http/1.1 ",
|
||||
|
||||
"accept:",
|
||||
"access-control-request-headers:",
|
||||
"if-modified-since:",
|
||||
"if-none-match:"
|
||||
"accept-encoding:",
|
||||
"accept-language:",
|
||||
"pragma:",
|
||||
|
|
|
@ -202,7 +202,9 @@ int libwebsocket_parse(struct libwebsocket *wsi, unsigned char c)
|
|||
case WSI_TOKEN_EXTENSIONS:
|
||||
case WSI_TOKEN_HTTP:
|
||||
case WSI_TOKEN_HTTP_ACCEPT:
|
||||
case WSI_TOKEN_HTTP_AC_REQUEST_HEADERS:
|
||||
case WSI_TOKEN_HTTP_IF_MODIFIED_SINCE:
|
||||
case WSI_TOKEN_HTTP_IF_NONE_MATCH:
|
||||
case WSI_TOKEN_HTTP_ACCEPT_ENCODING:
|
||||
case WSI_TOKEN_HTTP_ACCEPT_LANGUAGE:
|
||||
case WSI_TOKEN_HTTP_PRAGMA:
|
||||
|
|
Loading…
Add table
Reference in a new issue