mirror of
https://github.com/therootcompany/telebit.git
synced 2025-12-24 06:18:46 +00:00
- it does not look like the client is limiting the amount of traffic coming in, and it does not look like it is chunking. - need to know the max chunk. - increased to 64K - unpacker code v1 - fixed packer logging.
16 lines
287 B
Go
16 lines
287 B
Go
package packer
|
|
|
|
import "log"
|
|
import "os"
|
|
|
|
var (
|
|
loginfo *log.Logger
|
|
logdebug *log.Logger
|
|
logFlags = log.Ldate | log.Lmicroseconds | log.Lshortfile
|
|
)
|
|
|
|
func init() {
|
|
loginfo = log.New(os.Stdout, "INFO: packer: ", logFlags)
|
|
logdebug = log.New(os.Stdout, "DEBUG: packer:", logFlags)
|
|
}
|