2c55f7d7cb
Current FedSocket implementation has a bunch of problems. It doesn't have proper error handling (in case of an error the server just doesn't respond until the connection is closed, while the client doesn't match any error messages and just assumes there has been an error after 15s) and the code is full of bad descisions (see: fetch registry which uses uuids for no reason and waits for a response by recursively querying a ets table until the value changes, or double JSON encoding). Sometime ago I almost completed rewriting fedsockets from scrach to adress these issues. However, while doing so, I realized that fedsockets are just too overkill for what they were trying to accomplish, which is reduce the overhead of federation by not signing every message. This could be done without reimplementing failure states and endpoint logic we already have with HTTP by, for example, using TLS cert auth, or switching to a more performant signature algorithm. I opened https://git.pleroma.social/pleroma/pleroma/-/issues/2262 for further discussion on alternatives to fedsockets. From discussions I had with other Pleroma developers it seems like they would approve the descision to remove them as well, therefore I am submitting this patch. |
||
---|---|---|
.. | ||
activity | ||
bbs | ||
captcha | ||
chat | ||
config | ||
conversation | ||
docs | ||
ecto_type | ||
emails | ||
emoji | ||
gopher | ||
gun | ||
helpers | ||
http | ||
instances | ||
mfa | ||
migration_helper | ||
object | ||
reverse_proxy | ||
telemetry | ||
tesla/middleware | ||
tests | ||
upload | ||
uploaders | ||
user | ||
web | ||
workers | ||
activity.ex | ||
application_requirements.ex | ||
application.ex | ||
bookmark.ex | ||
captcha.ex | ||
chat.ex | ||
clippy.ex | ||
config_db.ex | ||
config.ex | ||
constants.ex | ||
conversation.ex | ||
counter_cache.ex | ||
delivery.ex | ||
earmark_renderer.ex | ||
ecto_enums.ex | ||
emoji-data.txt | ||
emoji.ex | ||
filter.ex | ||
following_relationship.ex | ||
formatter.ex | ||
gun.ex | ||
healthcheck.ex | ||
html.ex | ||
http.ex | ||
instances.ex | ||
job_queue_monitor.ex | ||
jwt.ex | ||
keys.ex | ||
list.ex | ||
maintenance.ex | ||
maps.ex | ||
marker.ex | ||
mfa.ex | ||
moderation_log.ex | ||
notification.ex | ||
object_tombstone.ex | ||
object.ex | ||
otp_version.ex | ||
pagination.ex | ||
password_reset_token.ex | ||
registration.ex | ||
release_tasks.ex | ||
repo.ex | ||
report_note.ex | ||
reverse_proxy.ex | ||
scheduled_activity.ex | ||
signature.ex | ||
stats.ex | ||
thread_mute.ex | ||
upload.ex | ||
user_invite_token.ex | ||
user_relationship.ex | ||
user.ex | ||
utils.ex | ||
web.ex | ||
xml_builder.ex |