Commit ece4d55
committed
feat: enable libcurl for znc-push
Before enabling libcurl in znc-push, some notifications were not
delivered,
especially messages that were sent in burst.
Working example:
```
<*push> Building notification to
api.telegram.org/botXXX/sendMessage...
<*push> Request sending
<*push> Status: 200
<*push> Message: OK
...
```
Broken example:
```
<*push> Building notification to
api.telegram.org/botXXX/sendMessage...
chat_id=199357051&text=%23%23balera%3A+%5Bgodog%5D+https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DBD7n99s9bSU
<*push> Request sending
...
<Notification not delivered>
```
Ref: https://github.com/amyreese/znc-push/blob/master/README.md#advanced
I subsequently enabled libcurl in push.cpp compilation and I no longer
had this problem.
I could not modify the Makefile because it is overwritten for every
module downloaded, but I could override the cpp file before building
the module.1 parent 9e70e2c commit ece4d55
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
0 commit comments