curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

an LDAP test server maybe?

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Sun, 26 Oct 2025 11:55:04 +0100 (CET)

Hello,

Some of our supported protocols are less tested than others and that sometimes
leads to regressions or worse.

One of the least tested protocols in the curl collection is LDAP and I would
like to do something about this.

The standard way to do protocol testing in curl, and one that works really
well, is to implement a really simple server of our own for the purpose. It
usually doesn't even have to speak the protocol well but just be able to do
responses according to what the test case instructs it. The test case should
also be able to instruct the server to respond completely protocol
non-compliant etc so that we can make sure curl deals with those situations as
well. That's typically a reason why we don't want or need a full "proper"
server - just a thin basic engine.

Any suggestions for an embryo for an LDAP test server where we can start? The
smaller the better. It can be done in C, but maybe using Python is more
convenient.

-- 
  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2025-10-26