Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: GZipCompression

$
0
0
Re: GZipCompression
Web Connection 5.0
Re: GZipCompression
11/07/2012
10:29:50 AM
3N00MI0YLShow this entire thread in new window
Gratar Image based on email address
From:Rick Steinwand
To:Rick Strahl
Has this bug from 5.43 been fixed yet?

FUNCTION GZipCompressString(lcString, lnCompressionLevel)LOCAL lcOutput, lcOutFile, lcInFile, lnHandle*** 1 - 9IFEMPTY(lnCompressionLevel) lnCompressionLevel = -1 && DefaultENDIF*** Must write to files<<b>>lcOutFile = SYS(2023) + SYS(2015) + TRANS(Application.ProcessId) + ".gz"<</b>> lcInFile = lcOutFile + ".in"

lcOutFile above is missing a backslash so only works when exe was run is an admin. It should be:

lcOutFile = ADDBS(SYS(2023)) + SYS(2015) + TRANS(Application.ProcessId) + ".gz"



No that's all you need.

Web Connection only GZips content over 10k (there's a flag in wconnect.h that controls this) so you might not see it on all requests.

+++ Rick ---


HTML Help Builder

Viewing all articles
Browse latest Browse all 10393

Trending Articles