mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2025-12-12 06:39:38 +05:00
some fixes && implement stations
This commit is contained in:
@@ -29,9 +29,14 @@ func (pr *ProxyReader) Read(p []byte) (int, error) {
|
||||
}
|
||||
|
||||
func (pr *ProxyReader) Close() error {
|
||||
defer fasthttp.ReleaseResponse(pr.Resp)
|
||||
defer prpool.Put(pr)
|
||||
return pr.Resp.CloseBodyStream()
|
||||
pr.Resp.CloseBodyStream()
|
||||
fasthttp.ReleaseResponse(pr.Resp)
|
||||
|
||||
pr.Reader = nil
|
||||
pr.Resp = nil
|
||||
|
||||
prpool.Put(pr)
|
||||
return nil
|
||||
}
|
||||
|
||||
func Log(what ...any) {
|
||||
|
||||
Reference in New Issue
Block a user