Thanks, Zash! I confirm your changes resolve both problems for us. I don't think the logs are necessary, my main goal was to avoid printing the entire stack trace.
I'm surprised you couldn't reproduce the error, it happens consistently for me. Boris On Wed, Apr 9, 2025 at 4:55 PM 'Kim Alvefur' via prosody-dev <[email protected]> wrote: > > Hello Boris, > > Thanks for the patches. I tweaked them a bit and pushed these commits: > > - https://hg.prosody.im/trunk/rev/61df1404dd7a > - https://hg.prosody.im/trunk/rev/a4b58ea5bf7b > > I couldn't reproduce the error however, so I hope it went away. > > Also not entirely sure that it's a good idea to log a warning for > malformed potentially user-submitted data, as X-Forwarded-For may be > depending on how the proxy is configured. > > -- > Regards, > Zash > > -- > You received this message because you are subscribed to the Google Groups > "prosody-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/prosody-dev/Z_bszL3j-70Wy7E-%40diploria.zash.se. -- You received this message because you are subscribed to the Google Groups "prosody-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/prosody-dev/CAFCpYuxnojHgXXthFx_6cpeBQR-Bw%3D%3Dey2GF_kyvvRFJyuQYzg%40mail.gmail.com.
