Nil pointer dereference in basicWriter when tee is nil
Nil pointer dereference in basicWriter when tee is nil: a task in harness-adapters: Agentic coding environments (Harbor dataset). When using the request logger middleware with response body reading (like with http.ServeContent ), a nil pointer dereference occurs in the basicWriter.Write method…
The task
When using the request logger middleware with response body reading (like with `http.ServeContent`), a nil pointer dereference occurs in the `basicWriter.Write` method. The issue appears to be related to the tee writer handling logic.
Part of harness-hub/harness-adapters.