fix function： leaks，serverinfo

#salt 'web-87' tomcat.leaks
web-87:
    F
    a
    i
    l
    e
    d
     
    t
    o
     
    c
    r
    e
    a
    t
    e
     
    H
    T
    T
    P
     
    r
    e
    q
    u
    e
    s
    t

#salt 'web-87' tomcat.serverinfo
web-87:
    ----------
    error:
        F
Merge pull request #8206 from pyinx/patch-2

fix function： leaks，serverinfo