Skip to content

LrMediaWiki2 2.0.39

Latest

Choose a tag to compare

@krichel89 krichel89 released this 30 Jul 10:31

Version 2.0.39 (July 2026)

The helper now logs what it is asked. Until now the bridge log held only
the startup line, which made "the request was rejected" indistinguishable from
"the request never arrived". Two rounds of debugging hung on exactly that gap.

Every request is logged with method, path, status and size, plus an explicit
line when a result is accepted from the page and another when it is handed to
Lightroom. Successful, uneventful /sync calls stay silent - they arrive once
a second and would bury everything else within the hour. Every non-200 is
logged, including the 403s from a missing token.

The wrapper needed for this passes Flush through. Without that the
Server-Sent-Events stream would have gone dead, because /events depends on
the response writer being an http.Flusher and an ordinary wrapper hides that.
The functional test counts stream events and would have caught it.

No behaviour changed otherwise.