add max upload size function
Merge branch 'master' of https://github.com/hisapi/his