merge from wenjie: support set chunk size at vhost level