pitchfork 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +2 -2
- data/ext/pitchfork_http/pitchfork_http.c +166 -166
- data/lib/pitchfork/chunked.rb +1 -1
- data/lib/pitchfork/http_server.rb +1 -1
- data/lib/pitchfork/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0b28e12be38614fe1056d54a89d58882d59100d2982fac86d844574c0c3c196
|
4
|
+
data.tar.gz: 64bf5dfc0d7fc843add452d7737137c96d466f550a95cfd50abe2d0e12b0caad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bf6a9ffeed660e5cbacf4a3d86c536f28472f9842cf79ad15cd1a1ac2fc7bab351c19040c775e080a2ab4fd0c83607c455b691701d30c308ac9050c968b9ebf
|
7
|
+
data.tar.gz: 789e03e4b35df56c3eb91eb7836aa865f6948e12e959ea196c0fbd757dc6b69be802f005547a6e52ae6ca1932f8a4b0c9cba74a495297d9e138e915ebdc3937f
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pitchfork (0.4.
|
4
|
+
pitchfork (0.4.1)
|
5
5
|
rack (>= 2.0)
|
6
6
|
raindrops (~> 0.7)
|
7
7
|
|
@@ -12,7 +12,7 @@ GEM
|
|
12
12
|
nio4r (2.5.8)
|
13
13
|
puma (6.1.1)
|
14
14
|
nio4r (~> 2.0)
|
15
|
-
rack (3.0.
|
15
|
+
rack (3.0.8)
|
16
16
|
raindrops (0.20.1)
|
17
17
|
rake (13.0.6)
|
18
18
|
rake-compiler (1.2.1)
|
@@ -491,7 +491,7 @@ tr8:
|
|
491
491
|
}
|
492
492
|
}
|
493
493
|
goto st5;
|
494
|
-
|
494
|
+
tr42:
|
495
495
|
#line 317 "pitchfork_http.rl"
|
496
496
|
{MARK(mark, p); }
|
497
497
|
#line 346 "pitchfork_http.rl"
|
@@ -500,14 +500,14 @@ tr41:
|
|
500
500
|
rb_hash_aset(hp->env, g_fragment, STR_NEW(mark, p));
|
501
501
|
}
|
502
502
|
goto st5;
|
503
|
-
|
503
|
+
tr45:
|
504
504
|
#line 346 "pitchfork_http.rl"
|
505
505
|
{
|
506
506
|
VALIDATE_MAX_URI_LENGTH(LEN(mark, p), FRAGMENT);
|
507
507
|
rb_hash_aset(hp->env, g_fragment, STR_NEW(mark, p));
|
508
508
|
}
|
509
509
|
goto st5;
|
510
|
-
|
510
|
+
tr49:
|
511
511
|
#line 356 "pitchfork_http.rl"
|
512
512
|
{
|
513
513
|
VALUE val;
|
@@ -536,7 +536,7 @@ tr48:
|
|
536
536
|
}
|
537
537
|
}
|
538
538
|
goto st5;
|
539
|
-
|
539
|
+
tr55:
|
540
540
|
#line 350 "pitchfork_http.rl"
|
541
541
|
{MARK(start.query, p); }
|
542
542
|
#line 351 "pitchfork_http.rl"
|
@@ -561,7 +561,7 @@ tr54:
|
|
561
561
|
}
|
562
562
|
}
|
563
563
|
goto st5;
|
564
|
-
|
564
|
+
tr59:
|
565
565
|
#line 351 "pitchfork_http.rl"
|
566
566
|
{
|
567
567
|
VALIDATE_MAX_URI_LENGTH(LEN(start.query, p), QUERY_STRING);
|
@@ -663,17 +663,17 @@ tr18:
|
|
663
663
|
#line 355 "pitchfork_http.rl"
|
664
664
|
{ http_version(hp, PTR_TO(mark), LEN(mark, p)); }
|
665
665
|
goto st14;
|
666
|
-
|
666
|
+
tr26:
|
667
667
|
#line 323 "pitchfork_http.rl"
|
668
668
|
{ MARK(mark, p); }
|
669
669
|
#line 325 "pitchfork_http.rl"
|
670
670
|
{ write_cont_value(hp, buffer, p); }
|
671
671
|
goto st14;
|
672
|
-
|
672
|
+
tr29:
|
673
673
|
#line 325 "pitchfork_http.rl"
|
674
674
|
{ write_cont_value(hp, buffer, p); }
|
675
675
|
goto st14;
|
676
|
-
|
676
|
+
tr36:
|
677
677
|
#line 323 "pitchfork_http.rl"
|
678
678
|
{ MARK(mark, p); }
|
679
679
|
#line 324 "pitchfork_http.rl"
|
@@ -715,7 +715,7 @@ case 14:
|
|
715
715
|
} else
|
716
716
|
goto tr23;
|
717
717
|
goto st0;
|
718
|
-
|
718
|
+
tr25:
|
719
719
|
#line 323 "pitchfork_http.rl"
|
720
720
|
{ MARK(mark, p); }
|
721
721
|
goto st15;
|
@@ -725,67 +725,67 @@ st15:
|
|
725
725
|
case 15:
|
726
726
|
#line 727 "pitchfork_http.c"
|
727
727
|
switch( (*p) ) {
|
728
|
-
case 9: goto
|
729
|
-
case 10: goto
|
730
|
-
case 13: goto
|
731
|
-
case 32: goto
|
728
|
+
case 9: goto tr25;
|
729
|
+
case 10: goto tr26;
|
730
|
+
case 13: goto tr27;
|
731
|
+
case 32: goto tr25;
|
732
|
+
case 127: goto st0;
|
733
|
+
}
|
734
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
735
|
+
goto st0;
|
736
|
+
goto tr24;
|
737
|
+
tr24:
|
738
|
+
#line 323 "pitchfork_http.rl"
|
739
|
+
{ MARK(mark, p); }
|
740
|
+
goto st16;
|
741
|
+
st16:
|
742
|
+
if ( ++p == pe )
|
743
|
+
goto _test_eof16;
|
744
|
+
case 16:
|
745
|
+
#line 746 "pitchfork_http.c"
|
746
|
+
switch( (*p) ) {
|
747
|
+
case 10: goto tr29;
|
748
|
+
case 13: goto tr30;
|
732
749
|
case 127: goto st0;
|
733
750
|
}
|
734
|
-
if ( (*p)
|
751
|
+
if ( (*p) > 8 ) {
|
752
|
+
if ( 11 <= (*p) && (*p) <= 31 )
|
753
|
+
goto st0;
|
754
|
+
} else if ( (*p) >= 0 )
|
735
755
|
goto st0;
|
736
|
-
goto
|
756
|
+
goto st16;
|
737
757
|
tr19:
|
738
758
|
#line 355 "pitchfork_http.rl"
|
739
759
|
{ http_version(hp, PTR_TO(mark), LEN(mark, p)); }
|
740
|
-
goto
|
741
|
-
|
760
|
+
goto st17;
|
761
|
+
tr27:
|
742
762
|
#line 323 "pitchfork_http.rl"
|
743
763
|
{ MARK(mark, p); }
|
744
764
|
#line 325 "pitchfork_http.rl"
|
745
765
|
{ write_cont_value(hp, buffer, p); }
|
746
|
-
goto
|
747
|
-
|
766
|
+
goto st17;
|
767
|
+
tr30:
|
748
768
|
#line 325 "pitchfork_http.rl"
|
749
769
|
{ write_cont_value(hp, buffer, p); }
|
750
|
-
goto
|
751
|
-
|
770
|
+
goto st17;
|
771
|
+
tr37:
|
752
772
|
#line 323 "pitchfork_http.rl"
|
753
773
|
{ MARK(mark, p); }
|
754
774
|
#line 324 "pitchfork_http.rl"
|
755
775
|
{ write_value(self, hp, buffer, p); }
|
756
|
-
goto
|
776
|
+
goto st17;
|
757
777
|
tr40:
|
758
778
|
#line 324 "pitchfork_http.rl"
|
759
779
|
{ write_value(self, hp, buffer, p); }
|
760
|
-
goto st16;
|
761
|
-
st16:
|
762
|
-
if ( ++p == pe )
|
763
|
-
goto _test_eof16;
|
764
|
-
case 16:
|
765
|
-
#line 766 "pitchfork_http.c"
|
766
|
-
if ( (*p) == 10 )
|
767
|
-
goto st14;
|
768
|
-
goto st0;
|
769
|
-
tr27:
|
770
|
-
#line 323 "pitchfork_http.rl"
|
771
|
-
{ MARK(mark, p); }
|
772
780
|
goto st17;
|
773
781
|
st17:
|
774
782
|
if ( ++p == pe )
|
775
783
|
goto _test_eof17;
|
776
784
|
case 17:
|
777
|
-
#line
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
case 127: goto st0;
|
782
|
-
}
|
783
|
-
if ( (*p) > 8 ) {
|
784
|
-
if ( 11 <= (*p) && (*p) <= 31 )
|
785
|
-
goto st0;
|
786
|
-
} else
|
787
|
-
goto st0;
|
788
|
-
goto st17;
|
785
|
+
#line 786 "pitchfork_http.c"
|
786
|
+
if ( (*p) == 10 )
|
787
|
+
goto st14;
|
788
|
+
goto st0;
|
789
789
|
tr21:
|
790
790
|
#line 371 "pitchfork_http.rl"
|
791
791
|
{
|
@@ -844,7 +844,7 @@ tr104:
|
|
844
844
|
goto post_exec;
|
845
845
|
}
|
846
846
|
goto st122;
|
847
|
-
|
847
|
+
tr108:
|
848
848
|
#line 317 "pitchfork_http.rl"
|
849
849
|
{MARK(mark, p); }
|
850
850
|
#line 346 "pitchfork_http.rl"
|
@@ -872,7 +872,7 @@ tr107:
|
|
872
872
|
goto post_exec;
|
873
873
|
}
|
874
874
|
goto st122;
|
875
|
-
|
875
|
+
tr112:
|
876
876
|
#line 346 "pitchfork_http.rl"
|
877
877
|
{
|
878
878
|
VALIDATE_MAX_URI_LENGTH(LEN(mark, p), FRAGMENT);
|
@@ -898,7 +898,7 @@ tr111:
|
|
898
898
|
goto post_exec;
|
899
899
|
}
|
900
900
|
goto st122;
|
901
|
-
|
901
|
+
tr117:
|
902
902
|
#line 356 "pitchfork_http.rl"
|
903
903
|
{
|
904
904
|
VALUE val;
|
@@ -946,7 +946,7 @@ tr116:
|
|
946
946
|
goto post_exec;
|
947
947
|
}
|
948
948
|
goto st122;
|
949
|
-
|
949
|
+
tr124:
|
950
950
|
#line 350 "pitchfork_http.rl"
|
951
951
|
{MARK(start.query, p); }
|
952
952
|
#line 351 "pitchfork_http.rl"
|
@@ -990,7 +990,7 @@ tr123:
|
|
990
990
|
goto post_exec;
|
991
991
|
}
|
992
992
|
goto st122;
|
993
|
-
|
993
|
+
tr129:
|
994
994
|
#line 351 "pitchfork_http.rl"
|
995
995
|
{
|
996
996
|
VALIDATE_MAX_URI_LENGTH(LEN(start.query, p), QUERY_STRING);
|
@@ -1056,7 +1056,7 @@ tr105:
|
|
1056
1056
|
}
|
1057
1057
|
}
|
1058
1058
|
goto st18;
|
1059
|
-
|
1059
|
+
tr109:
|
1060
1060
|
#line 317 "pitchfork_http.rl"
|
1061
1061
|
{MARK(mark, p); }
|
1062
1062
|
#line 346 "pitchfork_http.rl"
|
@@ -1065,14 +1065,14 @@ tr108:
|
|
1065
1065
|
rb_hash_aset(hp->env, g_fragment, STR_NEW(mark, p));
|
1066
1066
|
}
|
1067
1067
|
goto st18;
|
1068
|
-
|
1068
|
+
tr113:
|
1069
1069
|
#line 346 "pitchfork_http.rl"
|
1070
1070
|
{
|
1071
1071
|
VALIDATE_MAX_URI_LENGTH(LEN(mark, p), FRAGMENT);
|
1072
1072
|
rb_hash_aset(hp->env, g_fragment, STR_NEW(mark, p));
|
1073
1073
|
}
|
1074
1074
|
goto st18;
|
1075
|
-
|
1075
|
+
tr118:
|
1076
1076
|
#line 356 "pitchfork_http.rl"
|
1077
1077
|
{
|
1078
1078
|
VALUE val;
|
@@ -1101,7 +1101,7 @@ tr117:
|
|
1101
1101
|
}
|
1102
1102
|
}
|
1103
1103
|
goto st18;
|
1104
|
-
|
1104
|
+
tr125:
|
1105
1105
|
#line 350 "pitchfork_http.rl"
|
1106
1106
|
{MARK(start.query, p); }
|
1107
1107
|
#line 351 "pitchfork_http.rl"
|
@@ -1126,7 +1126,7 @@ tr124:
|
|
1126
1126
|
}
|
1127
1127
|
}
|
1128
1128
|
goto st18;
|
1129
|
-
|
1129
|
+
tr130:
|
1130
1130
|
#line 351 "pitchfork_http.rl"
|
1131
1131
|
{
|
1132
1132
|
VALIDATE_MAX_URI_LENGTH(LEN(start.query, p), QUERY_STRING);
|
@@ -1196,7 +1196,7 @@ case 19:
|
|
1196
1196
|
} else
|
1197
1197
|
goto tr32;
|
1198
1198
|
goto st0;
|
1199
|
-
|
1199
|
+
tr35:
|
1200
1200
|
#line 323 "pitchfork_http.rl"
|
1201
1201
|
{ MARK(mark, p); }
|
1202
1202
|
goto st20;
|
@@ -1210,16 +1210,16 @@ st20:
|
|
1210
1210
|
case 20:
|
1211
1211
|
#line 1212 "pitchfork_http.c"
|
1212
1212
|
switch( (*p) ) {
|
1213
|
-
case 9: goto
|
1214
|
-
case 10: goto
|
1215
|
-
case 13: goto
|
1216
|
-
case 32: goto
|
1213
|
+
case 9: goto tr35;
|
1214
|
+
case 10: goto tr36;
|
1215
|
+
case 13: goto tr37;
|
1216
|
+
case 32: goto tr35;
|
1217
1217
|
case 127: goto st0;
|
1218
1218
|
}
|
1219
|
-
if ( (*p) <= 31 )
|
1219
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
1220
1220
|
goto st0;
|
1221
|
-
goto
|
1222
|
-
|
1221
|
+
goto tr34;
|
1222
|
+
tr34:
|
1223
1223
|
#line 323 "pitchfork_http.rl"
|
1224
1224
|
{ MARK(mark, p); }
|
1225
1225
|
goto st21;
|
@@ -1236,7 +1236,7 @@ case 21:
|
|
1236
1236
|
if ( (*p) > 8 ) {
|
1237
1237
|
if ( 11 <= (*p) && (*p) <= 31 )
|
1238
1238
|
goto st0;
|
1239
|
-
} else
|
1239
|
+
} else if ( (*p) >= 0 )
|
1240
1240
|
goto st0;
|
1241
1241
|
goto st21;
|
1242
1242
|
tr9:
|
@@ -1340,15 +1340,15 @@ st22:
|
|
1340
1340
|
case 22:
|
1341
1341
|
#line 1342 "pitchfork_http.c"
|
1342
1342
|
switch( (*p) ) {
|
1343
|
-
case 32: goto
|
1343
|
+
case 32: goto tr42;
|
1344
1344
|
case 35: goto st0;
|
1345
1345
|
case 37: goto tr43;
|
1346
1346
|
case 127: goto st0;
|
1347
1347
|
}
|
1348
|
-
if ( (*p) <= 31 )
|
1348
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
1349
1349
|
goto st0;
|
1350
|
-
goto
|
1351
|
-
|
1350
|
+
goto tr41;
|
1351
|
+
tr41:
|
1352
1352
|
#line 317 "pitchfork_http.rl"
|
1353
1353
|
{MARK(mark, p); }
|
1354
1354
|
goto st23;
|
@@ -1358,12 +1358,12 @@ st23:
|
|
1358
1358
|
case 23:
|
1359
1359
|
#line 1360 "pitchfork_http.c"
|
1360
1360
|
switch( (*p) ) {
|
1361
|
-
case 32: goto
|
1361
|
+
case 32: goto tr45;
|
1362
1362
|
case 35: goto st0;
|
1363
1363
|
case 37: goto st24;
|
1364
1364
|
case 127: goto st0;
|
1365
1365
|
}
|
1366
|
-
if ( (*p) <= 31 )
|
1366
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
1367
1367
|
goto st0;
|
1368
1368
|
goto st23;
|
1369
1369
|
tr43:
|
@@ -1413,13 +1413,13 @@ st26:
|
|
1413
1413
|
case 26:
|
1414
1414
|
#line 1415 "pitchfork_http.c"
|
1415
1415
|
switch( (*p) ) {
|
1416
|
-
case 32: goto
|
1416
|
+
case 32: goto tr49;
|
1417
1417
|
case 35: goto tr50;
|
1418
1418
|
case 37: goto st27;
|
1419
1419
|
case 63: goto tr52;
|
1420
1420
|
case 127: goto st0;
|
1421
1421
|
}
|
1422
|
-
if ( (*p) <= 31 )
|
1422
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
1423
1423
|
goto st0;
|
1424
1424
|
goto st26;
|
1425
1425
|
st27:
|
@@ -1467,15 +1467,15 @@ st29:
|
|
1467
1467
|
case 29:
|
1468
1468
|
#line 1469 "pitchfork_http.c"
|
1469
1469
|
switch( (*p) ) {
|
1470
|
-
case 32: goto
|
1470
|
+
case 32: goto tr55;
|
1471
1471
|
case 35: goto tr56;
|
1472
1472
|
case 37: goto tr57;
|
1473
1473
|
case 127: goto st0;
|
1474
1474
|
}
|
1475
|
-
if ( (*p) <= 31 )
|
1475
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
1476
1476
|
goto st0;
|
1477
|
-
goto
|
1478
|
-
|
1477
|
+
goto tr54;
|
1478
|
+
tr54:
|
1479
1479
|
#line 350 "pitchfork_http.rl"
|
1480
1480
|
{MARK(start.query, p); }
|
1481
1481
|
goto st30;
|
@@ -1485,12 +1485,12 @@ st30:
|
|
1485
1485
|
case 30:
|
1486
1486
|
#line 1487 "pitchfork_http.c"
|
1487
1487
|
switch( (*p) ) {
|
1488
|
-
case 32: goto
|
1488
|
+
case 32: goto tr59;
|
1489
1489
|
case 35: goto tr60;
|
1490
1490
|
case 37: goto st31;
|
1491
1491
|
case 127: goto st0;
|
1492
1492
|
}
|
1493
|
-
if ( (*p) <= 31 )
|
1493
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
1494
1494
|
goto st0;
|
1495
1495
|
goto st30;
|
1496
1496
|
tr57:
|
@@ -1620,7 +1620,7 @@ case 39:
|
|
1620
1620
|
if ( (*p) > 32 ) {
|
1621
1621
|
if ( 34 <= (*p) && (*p) <= 35 )
|
1622
1622
|
goto st0;
|
1623
|
-
} else
|
1623
|
+
} else if ( (*p) >= 0 )
|
1624
1624
|
goto st0;
|
1625
1625
|
} else if ( (*p) > 57 ) {
|
1626
1626
|
if ( (*p) < 65 ) {
|
@@ -1646,7 +1646,7 @@ case 40:
|
|
1646
1646
|
case 127: goto st0;
|
1647
1647
|
}
|
1648
1648
|
if ( (*p) < 34 ) {
|
1649
|
-
if ( (*p) <= 32 )
|
1649
|
+
if ( 0 <= (*p) && (*p) <= 32 )
|
1650
1650
|
goto st0;
|
1651
1651
|
} else if ( (*p) > 35 ) {
|
1652
1652
|
if ( 62 <= (*p) && (*p) <= 63 )
|
@@ -1702,7 +1702,7 @@ case 43:
|
|
1702
1702
|
if ( (*p) > 32 ) {
|
1703
1703
|
if ( 34 <= (*p) && (*p) <= 35 )
|
1704
1704
|
goto st0;
|
1705
|
-
} else
|
1705
|
+
} else if ( (*p) >= 0 )
|
1706
1706
|
goto st0;
|
1707
1707
|
} else if ( (*p) > 57 ) {
|
1708
1708
|
if ( (*p) < 65 ) {
|
@@ -1728,7 +1728,7 @@ case 44:
|
|
1728
1728
|
case 127: goto st0;
|
1729
1729
|
}
|
1730
1730
|
if ( (*p) < 34 ) {
|
1731
|
-
if ( (*p) <= 32 )
|
1731
|
+
if ( 0 <= (*p) && (*p) <= 32 )
|
1732
1732
|
goto st0;
|
1733
1733
|
} else if ( (*p) > 35 ) {
|
1734
1734
|
if ( (*p) > 57 ) {
|
@@ -1759,7 +1759,7 @@ case 45:
|
|
1759
1759
|
if ( (*p) > 32 ) {
|
1760
1760
|
if ( 34 <= (*p) && (*p) <= 35 )
|
1761
1761
|
goto st0;
|
1762
|
-
} else
|
1762
|
+
} else if ( (*p) >= 0 )
|
1763
1763
|
goto st0;
|
1764
1764
|
} else if ( (*p) > 58 ) {
|
1765
1765
|
if ( (*p) < 65 ) {
|
@@ -1789,7 +1789,7 @@ case 46:
|
|
1789
1789
|
if ( (*p) > 32 ) {
|
1790
1790
|
if ( 34 <= (*p) && (*p) <= 35 )
|
1791
1791
|
goto st0;
|
1792
|
-
} else
|
1792
|
+
} else if ( (*p) >= 0 )
|
1793
1793
|
goto st0;
|
1794
1794
|
} else if ( (*p) > 58 ) {
|
1795
1795
|
if ( (*p) < 65 ) {
|
@@ -1816,7 +1816,7 @@ case 47:
|
|
1816
1816
|
case 127: goto st0;
|
1817
1817
|
}
|
1818
1818
|
if ( (*p) < 34 ) {
|
1819
|
-
if ( (*p) <= 32 )
|
1819
|
+
if ( 0 <= (*p) && (*p) <= 32 )
|
1820
1820
|
goto st0;
|
1821
1821
|
} else if ( (*p) > 35 ) {
|
1822
1822
|
if ( 62 <= (*p) && (*p) <= 63 )
|
@@ -2571,17 +2571,17 @@ st73:
|
|
2571
2571
|
case 73:
|
2572
2572
|
#line 2573 "pitchfork_http.c"
|
2573
2573
|
switch( (*p) ) {
|
2574
|
-
case 10: goto
|
2575
|
-
case 13: goto
|
2576
|
-
case 32: goto
|
2574
|
+
case 10: goto tr108;
|
2575
|
+
case 13: goto tr109;
|
2576
|
+
case 32: goto tr42;
|
2577
2577
|
case 35: goto st0;
|
2578
2578
|
case 37: goto tr110;
|
2579
2579
|
case 127: goto st0;
|
2580
2580
|
}
|
2581
|
-
if ( (*p) <= 31 )
|
2581
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
2582
2582
|
goto st0;
|
2583
|
-
goto
|
2584
|
-
|
2583
|
+
goto tr107;
|
2584
|
+
tr107:
|
2585
2585
|
#line 317 "pitchfork_http.rl"
|
2586
2586
|
{MARK(mark, p); }
|
2587
2587
|
goto st74;
|
@@ -2591,14 +2591,14 @@ st74:
|
|
2591
2591
|
case 74:
|
2592
2592
|
#line 2593 "pitchfork_http.c"
|
2593
2593
|
switch( (*p) ) {
|
2594
|
-
case 10: goto
|
2595
|
-
case 13: goto
|
2596
|
-
case 32: goto
|
2594
|
+
case 10: goto tr112;
|
2595
|
+
case 13: goto tr113;
|
2596
|
+
case 32: goto tr45;
|
2597
2597
|
case 35: goto st0;
|
2598
2598
|
case 37: goto st75;
|
2599
2599
|
case 127: goto st0;
|
2600
2600
|
}
|
2601
|
-
if ( (*p) <= 31 )
|
2601
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
2602
2602
|
goto st0;
|
2603
2603
|
goto st74;
|
2604
2604
|
tr110:
|
@@ -2648,15 +2648,15 @@ st77:
|
|
2648
2648
|
case 77:
|
2649
2649
|
#line 2650 "pitchfork_http.c"
|
2650
2650
|
switch( (*p) ) {
|
2651
|
-
case 10: goto
|
2652
|
-
case 13: goto
|
2653
|
-
case 32: goto
|
2651
|
+
case 10: goto tr117;
|
2652
|
+
case 13: goto tr118;
|
2653
|
+
case 32: goto tr49;
|
2654
2654
|
case 35: goto tr119;
|
2655
2655
|
case 37: goto st78;
|
2656
2656
|
case 63: goto tr121;
|
2657
2657
|
case 127: goto st0;
|
2658
2658
|
}
|
2659
|
-
if ( (*p) <= 31 )
|
2659
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
2660
2660
|
goto st0;
|
2661
2661
|
goto st77;
|
2662
2662
|
st78:
|
@@ -2704,17 +2704,17 @@ st80:
|
|
2704
2704
|
case 80:
|
2705
2705
|
#line 2706 "pitchfork_http.c"
|
2706
2706
|
switch( (*p) ) {
|
2707
|
-
case 10: goto
|
2708
|
-
case 13: goto
|
2709
|
-
case 32: goto
|
2707
|
+
case 10: goto tr124;
|
2708
|
+
case 13: goto tr125;
|
2709
|
+
case 32: goto tr55;
|
2710
2710
|
case 35: goto tr126;
|
2711
2711
|
case 37: goto tr127;
|
2712
2712
|
case 127: goto st0;
|
2713
2713
|
}
|
2714
|
-
if ( (*p) <= 31 )
|
2714
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
2715
2715
|
goto st0;
|
2716
|
-
goto
|
2717
|
-
|
2716
|
+
goto tr123;
|
2717
|
+
tr123:
|
2718
2718
|
#line 350 "pitchfork_http.rl"
|
2719
2719
|
{MARK(start.query, p); }
|
2720
2720
|
goto st81;
|
@@ -2724,14 +2724,14 @@ st81:
|
|
2724
2724
|
case 81:
|
2725
2725
|
#line 2726 "pitchfork_http.c"
|
2726
2726
|
switch( (*p) ) {
|
2727
|
-
case 10: goto
|
2728
|
-
case 13: goto
|
2729
|
-
case 32: goto
|
2727
|
+
case 10: goto tr129;
|
2728
|
+
case 13: goto tr130;
|
2729
|
+
case 32: goto tr59;
|
2730
2730
|
case 35: goto tr131;
|
2731
2731
|
case 37: goto st82;
|
2732
2732
|
case 127: goto st0;
|
2733
2733
|
}
|
2734
|
-
if ( (*p) <= 31 )
|
2734
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
2735
2735
|
goto st0;
|
2736
2736
|
goto st81;
|
2737
2737
|
tr127:
|
@@ -2861,7 +2861,7 @@ case 90:
|
|
2861
2861
|
if ( (*p) > 32 ) {
|
2862
2862
|
if ( 34 <= (*p) && (*p) <= 35 )
|
2863
2863
|
goto st0;
|
2864
|
-
} else
|
2864
|
+
} else if ( (*p) >= 0 )
|
2865
2865
|
goto st0;
|
2866
2866
|
} else if ( (*p) > 57 ) {
|
2867
2867
|
if ( (*p) < 65 ) {
|
@@ -2887,7 +2887,7 @@ case 91:
|
|
2887
2887
|
case 127: goto st0;
|
2888
2888
|
}
|
2889
2889
|
if ( (*p) < 34 ) {
|
2890
|
-
if ( (*p) <= 32 )
|
2890
|
+
if ( 0 <= (*p) && (*p) <= 32 )
|
2891
2891
|
goto st0;
|
2892
2892
|
} else if ( (*p) > 35 ) {
|
2893
2893
|
if ( 62 <= (*p) && (*p) <= 63 )
|
@@ -2943,7 +2943,7 @@ case 94:
|
|
2943
2943
|
if ( (*p) > 32 ) {
|
2944
2944
|
if ( 34 <= (*p) && (*p) <= 35 )
|
2945
2945
|
goto st0;
|
2946
|
-
} else
|
2946
|
+
} else if ( (*p) >= 0 )
|
2947
2947
|
goto st0;
|
2948
2948
|
} else if ( (*p) > 57 ) {
|
2949
2949
|
if ( (*p) < 65 ) {
|
@@ -2969,7 +2969,7 @@ case 95:
|
|
2969
2969
|
case 127: goto st0;
|
2970
2970
|
}
|
2971
2971
|
if ( (*p) < 34 ) {
|
2972
|
-
if ( (*p) <= 32 )
|
2972
|
+
if ( 0 <= (*p) && (*p) <= 32 )
|
2973
2973
|
goto st0;
|
2974
2974
|
} else if ( (*p) > 35 ) {
|
2975
2975
|
if ( (*p) > 57 ) {
|
@@ -3000,7 +3000,7 @@ case 96:
|
|
3000
3000
|
if ( (*p) > 32 ) {
|
3001
3001
|
if ( 34 <= (*p) && (*p) <= 35 )
|
3002
3002
|
goto st0;
|
3003
|
-
} else
|
3003
|
+
} else if ( (*p) >= 0 )
|
3004
3004
|
goto st0;
|
3005
3005
|
} else if ( (*p) > 58 ) {
|
3006
3006
|
if ( (*p) < 65 ) {
|
@@ -3030,7 +3030,7 @@ case 97:
|
|
3030
3030
|
if ( (*p) > 32 ) {
|
3031
3031
|
if ( 34 <= (*p) && (*p) <= 35 )
|
3032
3032
|
goto st0;
|
3033
|
-
} else
|
3033
|
+
} else if ( (*p) >= 0 )
|
3034
3034
|
goto st0;
|
3035
3035
|
} else if ( (*p) > 58 ) {
|
3036
3036
|
if ( (*p) < 65 ) {
|
@@ -3057,7 +3057,7 @@ case 98:
|
|
3057
3057
|
case 127: goto st0;
|
3058
3058
|
}
|
3059
3059
|
if ( (*p) < 34 ) {
|
3060
|
-
if ( (*p) <= 32 )
|
3060
|
+
if ( 0 <= (*p) && (*p) <= 32 )
|
3061
3061
|
goto st0;
|
3062
3062
|
} else if ( (*p) > 35 ) {
|
3063
3063
|
if ( 62 <= (*p) && (*p) <= 63 )
|
@@ -3404,17 +3404,17 @@ case 113:
|
|
3404
3404
|
} else
|
3405
3405
|
goto st113;
|
3406
3406
|
goto st0;
|
3407
|
-
|
3407
|
+
tr172:
|
3408
3408
|
#line 323 "pitchfork_http.rl"
|
3409
3409
|
{ MARK(mark, p); }
|
3410
3410
|
#line 325 "pitchfork_http.rl"
|
3411
3411
|
{ write_cont_value(hp, buffer, p); }
|
3412
3412
|
goto st114;
|
3413
|
-
|
3413
|
+
tr175:
|
3414
3414
|
#line 325 "pitchfork_http.rl"
|
3415
3415
|
{ write_cont_value(hp, buffer, p); }
|
3416
3416
|
goto st114;
|
3417
|
-
|
3417
|
+
tr182:
|
3418
3418
|
#line 323 "pitchfork_http.rl"
|
3419
3419
|
{ MARK(mark, p); }
|
3420
3420
|
#line 324 "pitchfork_http.rl"
|
@@ -3456,7 +3456,7 @@ case 114:
|
|
3456
3456
|
} else
|
3457
3457
|
goto tr169;
|
3458
3458
|
goto st0;
|
3459
|
-
|
3459
|
+
tr171:
|
3460
3460
|
#line 323 "pitchfork_http.rl"
|
3461
3461
|
{ MARK(mark, p); }
|
3462
3462
|
goto st115;
|
@@ -3466,63 +3466,63 @@ st115:
|
|
3466
3466
|
case 115:
|
3467
3467
|
#line 3468 "pitchfork_http.c"
|
3468
3468
|
switch( (*p) ) {
|
3469
|
-
case 9: goto
|
3470
|
-
case 10: goto
|
3471
|
-
case 13: goto
|
3472
|
-
case 32: goto
|
3469
|
+
case 9: goto tr171;
|
3470
|
+
case 10: goto tr172;
|
3471
|
+
case 13: goto tr173;
|
3472
|
+
case 32: goto tr171;
|
3473
3473
|
case 127: goto st0;
|
3474
3474
|
}
|
3475
|
-
if ( (*p) <= 31 )
|
3475
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
3476
3476
|
goto st0;
|
3477
|
-
goto
|
3478
|
-
|
3477
|
+
goto tr170;
|
3478
|
+
tr170:
|
3479
|
+
#line 323 "pitchfork_http.rl"
|
3480
|
+
{ MARK(mark, p); }
|
3481
|
+
goto st116;
|
3482
|
+
st116:
|
3483
|
+
if ( ++p == pe )
|
3484
|
+
goto _test_eof116;
|
3485
|
+
case 116:
|
3486
|
+
#line 3487 "pitchfork_http.c"
|
3487
|
+
switch( (*p) ) {
|
3488
|
+
case 10: goto tr175;
|
3489
|
+
case 13: goto tr176;
|
3490
|
+
case 127: goto st0;
|
3491
|
+
}
|
3492
|
+
if ( (*p) > 8 ) {
|
3493
|
+
if ( 11 <= (*p) && (*p) <= 31 )
|
3494
|
+
goto st0;
|
3495
|
+
} else if ( (*p) >= 0 )
|
3496
|
+
goto st0;
|
3497
|
+
goto st116;
|
3498
|
+
tr173:
|
3479
3499
|
#line 323 "pitchfork_http.rl"
|
3480
3500
|
{ MARK(mark, p); }
|
3481
3501
|
#line 325 "pitchfork_http.rl"
|
3482
3502
|
{ write_cont_value(hp, buffer, p); }
|
3483
|
-
goto
|
3484
|
-
|
3503
|
+
goto st117;
|
3504
|
+
tr176:
|
3485
3505
|
#line 325 "pitchfork_http.rl"
|
3486
3506
|
{ write_cont_value(hp, buffer, p); }
|
3487
|
-
goto
|
3488
|
-
|
3507
|
+
goto st117;
|
3508
|
+
tr183:
|
3489
3509
|
#line 323 "pitchfork_http.rl"
|
3490
3510
|
{ MARK(mark, p); }
|
3491
3511
|
#line 324 "pitchfork_http.rl"
|
3492
3512
|
{ write_value(self, hp, buffer, p); }
|
3493
|
-
goto
|
3513
|
+
goto st117;
|
3494
3514
|
tr186:
|
3495
3515
|
#line 324 "pitchfork_http.rl"
|
3496
3516
|
{ write_value(self, hp, buffer, p); }
|
3497
|
-
goto st116;
|
3498
|
-
st116:
|
3499
|
-
if ( ++p == pe )
|
3500
|
-
goto _test_eof116;
|
3501
|
-
case 116:
|
3502
|
-
#line 3503 "pitchfork_http.c"
|
3503
|
-
if ( (*p) == 10 )
|
3504
|
-
goto st114;
|
3505
|
-
goto st0;
|
3506
|
-
tr173:
|
3507
|
-
#line 323 "pitchfork_http.rl"
|
3508
|
-
{ MARK(mark, p); }
|
3509
3517
|
goto st117;
|
3510
3518
|
st117:
|
3511
3519
|
if ( ++p == pe )
|
3512
3520
|
goto _test_eof117;
|
3513
3521
|
case 117:
|
3514
|
-
#line
|
3515
|
-
|
3516
|
-
|
3517
|
-
|
3518
|
-
case 127: goto st0;
|
3519
|
-
}
|
3520
|
-
if ( (*p) > 8 ) {
|
3521
|
-
if ( 11 <= (*p) && (*p) <= 31 )
|
3522
|
-
goto st0;
|
3523
|
-
} else
|
3524
|
-
goto st0;
|
3525
|
-
goto st117;
|
3522
|
+
#line 3523 "pitchfork_http.c"
|
3523
|
+
if ( (*p) == 10 )
|
3524
|
+
goto st114;
|
3525
|
+
goto st0;
|
3526
3526
|
tr167:
|
3527
3527
|
#line 390 "pitchfork_http.rl"
|
3528
3528
|
{
|
@@ -3582,7 +3582,7 @@ case 119:
|
|
3582
3582
|
} else
|
3583
3583
|
goto tr178;
|
3584
3584
|
goto st0;
|
3585
|
-
|
3585
|
+
tr181:
|
3586
3586
|
#line 323 "pitchfork_http.rl"
|
3587
3587
|
{ MARK(mark, p); }
|
3588
3588
|
goto st120;
|
@@ -3596,16 +3596,16 @@ st120:
|
|
3596
3596
|
case 120:
|
3597
3597
|
#line 3598 "pitchfork_http.c"
|
3598
3598
|
switch( (*p) ) {
|
3599
|
-
case 9: goto
|
3600
|
-
case 10: goto
|
3601
|
-
case 13: goto
|
3602
|
-
case 32: goto
|
3599
|
+
case 9: goto tr181;
|
3600
|
+
case 10: goto tr182;
|
3601
|
+
case 13: goto tr183;
|
3602
|
+
case 32: goto tr181;
|
3603
3603
|
case 127: goto st0;
|
3604
3604
|
}
|
3605
|
-
if ( (*p) <= 31 )
|
3605
|
+
if ( 0 <= (*p) && (*p) <= 31 )
|
3606
3606
|
goto st0;
|
3607
|
-
goto
|
3608
|
-
|
3607
|
+
goto tr180;
|
3608
|
+
tr180:
|
3609
3609
|
#line 323 "pitchfork_http.rl"
|
3610
3610
|
{ MARK(mark, p); }
|
3611
3611
|
goto st121;
|
@@ -3622,7 +3622,7 @@ case 121:
|
|
3622
3622
|
if ( (*p) > 8 ) {
|
3623
3623
|
if ( 11 <= (*p) && (*p) <= 31 )
|
3624
3624
|
goto st0;
|
3625
|
-
} else
|
3625
|
+
} else if ( (*p) >= 0 )
|
3626
3626
|
goto st0;
|
3627
3627
|
goto st121;
|
3628
3628
|
}
|
data/lib/pitchfork/chunked.rb
CHANGED
@@ -376,7 +376,7 @@ module Pitchfork
|
|
376
376
|
if worker
|
377
377
|
@after_worker_exit.call(self, worker, status)
|
378
378
|
else
|
379
|
-
logger.
|
379
|
+
logger.info("reaped unknown subprocess #{status.inspect}")
|
380
380
|
end
|
381
381
|
rescue Errno::ECHILD
|
382
382
|
break
|
data/lib/pitchfork/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pitchfork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: raindrops
|