Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Perl plugin template broken ? #43

Open
gottburgm opened this issue Oct 17, 2018 · 0 comments
Open

Perl plugin template broken ? #43

gottburgm opened this issue Oct 17, 2018 · 0 comments

Comments

@gottburgm
Copy link

Hello, it seems that the perl plugin template from the doc is broken.

I would really need to be able to use perl, can you help me fixing the template ?

On load error:
16:41:36-ERROR-[Perl5.26.2] Invalid number of response returned while loading '/home/evil/.proxenet/plugins/Test1.pl' (got 0, expected 1)
16:41:36-INFO-Plugin 2 'Test1' is now ACTIVE

After a request:
GET / HTTP/1.1
Host: example.com
User-Agent: curl/7.59.0
Accept: /
Proxy-Connection: Keep-Alive

[1] 2396 segmentation fault (core dumped) proxenet -4 -v

Test1.pl only contains the AddHeader template's code ...

BTW: extension would be .pm for a perl module

Cheers,
Michael

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant