No, don't just edit the links en masse. Good answers linking to an RFC are likely quoting from it to support some claim. If you modify just the links, then:
- The quotes are unlikely to still be present at the new link
- The overall claim being supported may not even be true any more per the wording of the new RFC
Also, it's non-ideal to eliminate mentions of old RFCs from answers entirely, since those mentions provide extra information - that the behaviour the answer is describing was specced even back when the older RFC was written. Edits that remove significant information from answers are usually bad.
When answers reference obsolete RFCs and you want to do something about it, I'd suggest following a process roughly like this:
- Before anything else, determine whether the overall point the answer is making remains valid for the newer version of the RFC. e.g. if the answer says that frobnicating the widget is not allowed because RFC 231231 says "implementations MUST NOT frobnicate the widget", check whether the newer RFC 645313 makes the same claim (perhaps in different words), or whether it says that "implementations MAY frobincate the widget".
- If the whole answer is wrong in the context of the newer RFC, your best recourse is probably to comment on it and add a new answer of your own referencing the newer RFC and noting that the spec has changed between RFCs.
- If the overall point that the answer was making is still valid, then:
- Update the link to the latest version
- Update any quotes in the answer to whatever the equivalent passages in the newer version of the RFC say
- Add in a parenthetical mention of the old RFC, noting the date at which it was published and that it specified the same behaviour (probably no need to quote from it in detail)
Alternatively, if taking the steps above would mean totally rewriting somebody's answer, feel free to post your own.
This is a lot of work, but taking half-measures like just editing links to obsolete RFCs risks leaving answers in a confusing and self-contradictory state. If you don't want to take on all the work above, that's fine - just comment on the answer noting that the RFC is obsolete and linking to the newer version, instead.
On a side note, whenever you link to RFCs on the IETF website, please, please link to the HTML versions like https://www.rfc-editor.org/rfc/rfc2616 instead of the plain text versions like https://www.ietf.org/rfc/rfc2616. Not only are the HTML versions prettier, easier to navigate, and easier to link to subsections of, but they contain headers at the top that note if the RFC has been obsoleted or updated by another RFC. These are enormously useful to readers a few years in the future who want to know whether the RFC they're reading still represents current spec or not, and favouring them over the txt versions religiously helps prevent the irritating phenomenon of RFCs that were obsoleted years ago still being cited as if they were present spec all over Stack Overflow.