Browse Source

fix mistake with request max memory

tags/v1.0.0
iftahbe 5 years ago
parent
commit
9d0781fa16
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server/server.go

+ 1
- 1
server/server.go View File

@@ -59,7 +59,7 @@ import (
const SERVER_INFO = "transfer.sh" const SERVER_INFO = "transfer.sh"


// parse request with maximum memory of _24Kilobits // parse request with maximum memory of _24Kilobits
const _24K = (1 << 20) * 24
const _24K = (1 << 10) * 24


type OptionFn func(*Server) type OptionFn func(*Server)




Loading…
Cancel
Save