Handle PNG EXIF and distinguish transient encoder crashes from invalid images

This commit is contained in:
2026-11-21 00:58:18 +03:00
parent a9203f677d
commit 8bd25a1321
13 changed files with 690 additions and 85 deletions
+15
View File
@@ -0,0 +1,15 @@
? mtusi/messenger/cmd/server [no test files]
? mtusi/messenger/internal/database [no test files]
=== RUN TestDatabaseConcurrentHTTP
database_test.go:162: 100 confirmed messages from 10 clients through real HTTP and PostgreSQL; race detector enabled
--- PASS: TestDatabaseConcurrentHTTP (1.77s)
=== RUN TestPasswordFullUnicodeRange
--- PASS: TestPasswordFullUnicodeRange (2.31s)
=== RUN TestTransformFailureClassification
--- PASS: TestTransformFailureClassification (0.00s)
=== RUN TestFitFloorNoUpscale
--- PASS: TestFitFloorNoUpscale (0.00s)
=== RUN TestTransformAlphaAndEXIF
--- PASS: TestTransformAlphaAndEXIF (0.25s)
PASS
ok mtusi/messenger/internal/messenger 5.359s