Commit 2b3e623
fix(ext/node): restore llhttp parser.data after execute to handle re-entrant calls (#33832)
## Summary
Enables `test-http-parser-multiple-execute` in node_compat suite.
## Test plan
- [x] `cargo test --test node_compat --
test-http-parser-multiple-execute`
---------
Co-authored-by: divybot <divybot@users.noreply.github.com>
Co-authored-by: Divy Srivastava <me@littledivy.com>1 parent 43b78ea commit 2b3e623
2 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
| 817 | + | |
| 818 | + | |
817 | 819 | | |
818 | 820 | | |
819 | 821 | | |
| |||
824 | 826 | | |
825 | 827 | | |
826 | 828 | | |
827 | | - | |
| 829 | + | |
828 | 830 | | |
829 | 831 | | |
830 | 832 | | |
| |||
971 | 973 | | |
972 | 974 | | |
973 | 975 | | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
974 | 982 | | |
975 | 983 | | |
976 | 984 | | |
| |||
982 | 990 | | |
983 | 991 | | |
984 | 992 | | |
985 | | - | |
| 993 | + | |
986 | 994 | | |
987 | 995 | | |
988 | 996 | | |
| |||
1046 | 1054 | | |
1047 | 1055 | | |
1048 | 1056 | | |
| 1057 | + | |
| 1058 | + | |
1049 | 1059 | | |
1050 | 1060 | | |
1051 | 1061 | | |
1052 | 1062 | | |
1053 | 1063 | | |
1054 | | - | |
| 1064 | + | |
1055 | 1065 | | |
1056 | 1066 | | |
1057 | 1067 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1661 | 1661 | | |
1662 | 1662 | | |
1663 | 1663 | | |
| 1664 | + | |
1664 | 1665 | | |
1665 | 1666 | | |
1666 | 1667 | | |
| |||
0 commit comments