Commit graph

3 commits

Author SHA1 Message Date
BlacKSnowDot0
b3f36d7239
Update auto_https_conn.go
- In readRequest, removed redundant assignment of c.firstBuf after the Read operation. The slice is already limited to n bytes read.
- Changed resp from a value to a pointer in readRequest to avoid copying the struct when only a pointer is needed.
- Added error handling in the Read method to return an error if readRequest fails, which was previously ignored.
- Optimized the condition in Read to check for equality (c.bufStart == len(c.firstBuf)) instead of greater than or equal, as bufStart should never exceed len(c.firstBuf).
2023-11-19 17:39:00 -08:00
Hamidreza Ghavami
4831c2f1b2
Add tgLang option 2023-05-20 19:15:20 +04:30
MHSanaei
b73e4173a3 3x-ui 2023-02-09 22:48:06 +03:30