I don’t go outdoor, no take photo

Technology

Archlinuxcn Build Web Page

Some people feedback me, data API have is 502。I don’t know why is it. This service already four year don’t update.

I found golang stdlib readline have limit, each line max 65536.

% awk '{if (length(max)<length()) max=$0}END{print max}' /home/lilydjwg/.lilac/build-log.json | wc -c
89930

Use this command find most long line. Oh my God! This line toooooo looooong

Source is here:

<https://pkg.go.dev/bufio#pkg-constants>

MaxScanTokenSize = 64 * 1024
65536

bufio package - bufio - Go Packages

I decide hot fix this, change this value in local golong stdlib source code. build, upload, up! it’s finish

brew list go
/opt/homebrew/Cellar/go/1.22.1/bin/go
/opt/homebrew/Cellar/go/1.22.1/bin/gofmt
/opt/homebrew/Cellar/go/1.22.1/libexec/api/ (25 files)
/opt/homebrew/Cellar/go/1.22.1/libexec/bin/ (2 files)
/opt/homebrew/Cellar/go/1.22.1/libexec/doc/ (5 files)
/opt/homebrew/Cellar/go/1.22.1/libexec/lib/ (4 files)
/opt/homebrew/Cellar/go/1.22.1/libexec/misc/ (26 files)
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/ (23 files)
/opt/homebrew/Cellar/go/1.22.1/libexec/src/ (9471 files)
/opt/homebrew/Cellar/go/1.22.1/libexec/test/ (3281 files)
/opt/homebrew/Cellar/go/1.22.1/libexec/ (6 files)

Live777 RTSP protocol support

This feature will develop in next version on we plan. But, now project need this feature. We must do this project. So, I do this feature

This feature debug depend WireShark

Screenshot 2024-05-14 at 23.47.59.png