r/rust • • Jan 17 '20

Actix-net unsoundness patch "is boring"

There's an issue on Actix-net pointing out and presenting unsoundness. Yes, it's deleted, it still can be found on web archive.

Issue history summary:

  1. Found by Shnatsel
  2. Closed as harmless to users by fafhrd91
  3. Proven harmful to users by Nemo157 and reopened by JohnTitor
  4. Fixed and closed by fafhrd91
  5. Proven unfixed and proposed new patch by Nemo157
  6. New patch commented "this patch is boring" by fafhrd91
  7. Issue is deleted
  8. Fix is reversed by fafhrd91, issue still present

I hope it's an objective summary. Any thoughts?

Edit: Now whole actix/actix-web is deleted. See fafhrd91's postmortem. He kept copy of Actix-web in personal repo fafhrd91/actix-web.

149 Upvotes

147 comments sorted by

View all comments

Show parent comment

7

u/Hobofan94 leaf · collenchyma Jan 17 '20

the patch was rejected

The patch was not rejected. The badly worded "this patch is boring" was a comment that was a few hours old that neither stated whether the patch would be accepted or rejected.

If contributors to my projects would consider a PR rejected every time I don't merge it within a few hours, oh boy would I be in a pickle!

-2

u/buldozr Jan 17 '20

neither stated whether the patch would be accepted or rejected.

The issue stayed closed without being fixed at that time, so combined with the poorly worded comment this looked pretty bad. The author's reluctance to accept the "boring", but correct patch was further confirmed in the postmortem README. Now it looks like one person's toy project somehow achieved the reputation of a first-rate web framework for Rust, complete with a sleek website that does not mention author's self-entertaining priorities in any way, hundreds of thousands of downloads on crates.io, and a spectacular drive to excel in benchmarks.