Skip to content

Secure remote protocol: TLS, authentication, compression, batching #228

@timsehn

Description

@timsehn

Problem

Remote protocol uses raw BSD sockets with plaintext HTTP. No TLS, no auth, no compression, one chunk per HTTP request.

Current behavior

  • doltlite_http_remote.c: raw socket()/connect(), HTTP/1.1 manually constructed
  • No encryption, no authentication headers
  • Each chunk = separate HTTP request (10K chunks = 10K round trips)

Expected behavior

  • TLS 1.3 for all traffic
  • Bearer token or mTLS authentication
  • Batch chunk transfer (100+ chunks per request)
  • Compression (zstd or gzip)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions