Soner Tari
Soner Tari
I use the autossl proxyspecs for POP3 and SMTP servers with STARTTLS support. And I am not aware of any HTTP server with STARTTLS support, perhaps it's my ignorance, but...
I cannot create your test environment, and it is hard to guess looking at the code, so we need further info. If you enable debug logging with -D, what does...
I look at the debug logs you have provided, and at the code in pxy_bev_readcb(). So far this is what we know: - This happens with autossl, but not ssl...
Also, just to make sure that callbacks for the overridden bevs are disabled, can you apply the following patch and report back please?: ``` --- pxyconn.c.orig 2022-03-25 22:45:11.607758000 +0300 +++...
Hm, that's interesting. I've also looked into the source code of libevent 2.1.12, and seen that the only time the bufferevent_setwatermark() function is called in the entire libevent code is...
Also, we enable read callbacks for src and dst bevs after we find ClientHello and while we complete upgrade, not for the underlying bevs, but for the new bevs. I...
The purpose of setting a watermark is to call the write callback when the water level drops to some acceptable level, i.e. outbuf has some space now (otherwise, the write...
I am not surprised about the memory increase you report now, that's why in my earlier post I said we should disable the read events for the underlying bev if...
UPDATE: Please note that I have modified the patch after the first post. Your report that my last patch does not work is strange, because it includes your trial-fix, which...
Thanks @minzkn for giving me access to your test environment. I have started using it. But I didn't know wrapper bevs were so strange. It will take some time until...