question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proxy handler is blocking

See original GitHub issue

https://github.com/aio-libs/aiosmtpd/blob/3ced778177418d8ae47bc3c300879bf59e731f1a/aiosmtpd/handlers.py#L122

Currently forwarding mail in Proxy is blocking which will mean the entire server is blocking.

Use of smtplib.SMTP() should be replaced by aiosmtplib.SMTP().

Issue copied from https://bugs.python.org/issue35788

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
waynewcommented, Jan 1, 2021

Install reference cycles shouldn’t be an issue, since installation isn’t compiling/building.

But it would be appropriate to call out that potential issue both in docs and wherever (both issue trackers?)

I think if we stick the req behind an extras_require (e.g. pip install aiosmtpd[proxy]) that would be a good approach.

0reactions
pepoluancommented, Jan 1, 2021

It would require (I guess) adding a dependency (maybe optional) of aiosmtplib. Would you be ok with that?

That might be problematic

aiosmtplib listed aiosmtpd as one of its dev-dependencies.

So we’re entering a very potential circular dependency hell there…

Read more comments on GitHub >

github_iconTop Results From Across the Web

5 Tips for Avoiding Proxy Blocks When Using a Bot
One method to assure your success is to avoid having your IPs blocked, and we'll explore how to minimize the chance of your...
Read more >
javascript - Why does Proxy break this-binding?
Attempting to access the property through a proxy without a handler throws an error; Explicitly forwarding a handler get trap through Reflect.
Read more >
blocking-proxy - npm Package Health Analysis
What is blocking-proxy? ... WebDriver Proxy for testing rich clients. It block certain calls until Angular is done updating the page under test....
Read more >
Proxy and Reflect
Proxy. The syntax: let proxy = new Proxy(target, handler) ... We use WeakMap instead of Map here because it won't block garbage collection....
Read more >
How to Block Access to Proxy Websites using Application ...
Block by Signatures : Using this method individual signatures for each site can be blocked. Blocking the Category Proxy Access: Login to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found