add bufsiz test to getConfig
add some headers