Commit b1dfa9f
committed
feature: use the actual ngx_connection_t * in ssl_client_hello_by
Do we really need to create a fake connection here?
Sure, the request struct wasn't even created yet but the conneciton does
exist.
I personally need it because I need to allocate memory that will live
for as long as the connection exists, not until the Lua chunk returns.1 parent edd1b6a commit b1dfa9f
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
674 | | - | |
| 673 | + | |
675 | 674 | | |
676 | 675 | | |
677 | 676 | | |
| |||
684 | 683 | | |
685 | 684 | | |
686 | 685 | | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
687 | 693 | | |
688 | 694 | | |
689 | 695 | | |
| |||
692 | 698 | | |
693 | 699 | | |
694 | 700 | | |
695 | | - | |
| 701 | + | |
696 | 702 | | |
697 | 703 | | |
698 | 704 | | |
| |||
0 commit comments