# fix\(server\): open image headers non-blocking and step over standalone JPEG markers · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/104ad786375aa401e9a918a0c123bf460c3aba71)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 104ad786375aa401e9a918a0c123bf460c3aba71

Requested commit: 104ad786375aa401e9a918a0c123bf460c3aba71

Commit: 104ad786375aa401e9a918a0c123bf460c3aba71

Tree: c5471106f55a4a31f9b95ed4875d7a3507593518

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(server): open image headers non-blocking and step over standalone JPEG markers

Every header read now goes through openMediaFile, so a path swapped for
a FIFO cannot stall the request waiting for a writer. TEM and restart
markers carry no length field and are skipped as two bytes. The read
error names the file.

Co-Authored-By: Claude Code <noreply@anthropic.com>

```

## Parents

- [c97ccee25618584c8fc2908975f486e5ed1f3102](https://git.cafe/pingdotgg/t3code/commit/c97ccee25618584c8fc2908975f486e5ed1f3102?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/104ad786375aa401e9a918a0c123bf460c3aba71?format=markdown)
