Commit Graph
32 Commits
Author SHA1 Message Date
Sergey Krashevich 7ac5b4f114 Ensure exit code is within valid range
The exitHandler function now properly validates the exit code provided
in the query string. It checks for conversion errors and ensures the
code is within the valid range of 0 to 125. If the validation fails,
it responds with an HTTP 400 Bad Request error. This prevents potential
misuse of the exit endpoint by restricting the exit codes to expected
values.
2023-11-29 10:03:39 +03:00
Sergey Krashevich 95de3a1f3e Update openapi.yaml 2023-10-19 16:40:14 +03:00
Sergey KrashevichandGitHub f27f7d28bb Update editor.html 2023-09-30 12:38:31 +03:00
Sergey KrashevichandGitHub 81fb8fc238 Update README.md 2023-09-27 14:11:03 +03:00
Sergey Krashevich aa5b23fa80 fix openapi specs 2023-09-25 07:41:55 +03:00
Sergey Krashevich 9368a6b85e Add conditional check before adding a new pair in the server's AddPair function 2023-09-11 10:34:31 +03:00
Sergey Krashevich 541a7b28a7 Refactor LocalIP method to correctly handle non-TCP connections 2023-09-05 10:27:12 +03:00
Sergey Krashevich 9f14b30aae Refactor CSS in editor.html for better readability and remove duplicate body rule 2023-08-23 17:24:17 +03:00
Sergey Krashevich 065a6f4f46 Update Debian and Go versions to bookworm-slim and 1.21-bookworm respectively in hardware.Dockerfile 2023-08-23 17:06:21 +03:00
Sergey Krashevich 6f5ba2ade6 Update ace library version to 1.24.1 and fix code syntax in editor.html 2023-08-23 12:59:05 +03:00
Sergey Krashevich 0822326900 Update Go version to 1.21 in build and test workflows and Dockerfiles 2023-08-23 10:09:53 +03:00
Sergey Krashevich 490a48cd50 Refactored code to resize JPEG snapshot if "h" parameter exists in the URL query 2023-07-11 10:35:53 +03:00
Sergey Krashevich c94d1e237d Merge remote-tracking branch 'remotes/upstream/master' into patch-listen-tls 2023-05-21 23:29:08 +03:00
Sergey KrashevichandGitHub 981974eac9 Update hardware.Dockerfile 2023-05-04 22:45:39 +03:00
Sergey Krashevich 5b29306d4f Refactor video toolbox probe commands to use SVGA resolution in hardware_darwin.go 2023-05-04 22:22:00 +03:00
Sergey Krashevich af717b2172 add tls support 2023-04-14 18:28:03 +03:00
Sergey Krashevich 722b2827a1 Update Go version to 1.20 in test.yml and Dockerfiles 2023-04-03 20:30:25 +03:00
Sergey Krashevich 59347a409e Add cache for faster Docker builds from the GitHub Actions environment in ".github/workflows/docker.yml". 2023-04-02 07:05:09 +03:00
Sergey Krashevich 49e861d1b0 Update Docker build-push-action to version 4 in workflows/docker.yml and workflows/test.yml and deploy-pages to version 2 in workflows/gh-pages.yml 2023-04-02 04:02:28 +03:00
Sergey Krashevich b1701e856a Update hardware.Dockerfile 2023-04-02 02:28:44 +03:00
Sergey Krashevich a6260d0f56 Refactor Receiver and Sender methods to use RLock instead of Lock 2023-03-28 16:44:52 +03:00
Sergey Krashevich 693d41be87 Add buffer size of 8M to RTSP output in ffmpeg and handle EOF error when accepting RTSP connection in rtsp.go 2023-03-28 15:47:25 +03:00
Sergey Krashevich 222dc6a5c2 Refactor code to include buffer channels to prevent blocking in handler functions and add RWMutex to Receiver and Sender structs for concurrency-safe data access 2023-03-28 05:56:35 +03:00
Sergey Krashevich 91a7b5be27 Update editor.html 2023-02-27 05:37:17 +03:00
Sergey Krashevich eca311717a Update index.html 2023-02-27 02:02:32 +03:00
Sergey Krashevich d3b2b8fdae add docker testing 2023-02-21 18:24:41 +03:00
Sergey Krashevich 3b9a0059df Create test.yml 2023-02-21 17:54:55 +03:00
Sergey Krashevich a388002b12 Merge branch 'master' into macos-lipo 2023-02-04 20:40:46 +03:00
Sergey Krashevich b7391f58a5 Update release.yml 2023-01-28 03:21:03 +03:00
Sergey KrashevichandGitHub a36359f3dd Update api.go 2023-01-20 18:38:46 +03:00
Sergey Krashevich b7016e798f Update config.go 2023-01-14 21:27:23 +03:00
Sergey Krashevich b51aabd3d9 Update Dockerfile 2023-01-06 11:52:09 +03:00