HTTP requesting utilities #12

Open
opened 2022-09-28 09:12:49 +00:00 by heartles · 0 comments
Owner

We're going to need to make HTTP requests:

  • Dereference remote actors/activites
    • Will come in as individual requests sporadically
  • POSTing activities to remote inboxes
    • Involve the same request being sent to dozens if not hundreds of servers all at once
  • Must support TLS (and allow us to require TLS, if necessary)

Probably use libcurl for this

  • Cannot use the simple interface, as it would block the thread

  • Must put adapter on libcurl api to work with zig async/await

  • Ideally our internal api would let us easily queue up the same request to a list of servers at the same time

  • Figure out connection limit, how many outstanding requests do we allow ourself to have?

We're going to need to make HTTP requests: - Dereference remote actors/activites + Will come in as individual requests sporadically - POSTing activities to remote inboxes + Involve the same request being sent to dozens if not hundreds of servers all at once - Must support TLS (and allow us to *require* TLS, if necessary) Probably use libcurl for this - Cannot use the simple interface, as it would block the thread - Must put adapter on libcurl api to work with zig async/await - Ideally our internal api would let us easily queue up the same request to a list of servers at the same time - Figure out connection limit, how many outstanding requests do we allow ourself to have?
heartles added a new dependency 2022-10-13 10:07:14 +00:00
heartles added the
http
backend
federation
labels 2022-10-13 10:31:55 +00:00
heartles added this to the v0.0.6 milestone 2022-12-10 14:51:46 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#7 ActivityPub federation
heartles/fediglam
Reference: heartles/fediglam#12
No description provided.