Result Codes for Web Proxy and Winsock Proxy (248695)



The information in this article applies to:

  • Microsoft Proxy Server 2.0

This article was previously published under Q248695

SUMMARY

This article lists some of the result codes for Web proxy and Winsock proxy.

MORE INFORMATION

For the Web Proxy service, this field can be used to indicate a Windows (Win32) error code (for values less than 100), an HTTP status code (for values between 100 and 1,000), or a Windows Sockets error code (for values between 10,000 and 11,004). Some of the supported values for this field are listed in the following table.

ValueDescription
200OK - Successful connection
201Created
202Accepted
204No Content
301Moved Permanently
302Moved Temporarily
304Not Modified
400Bad Request
401Unauthorized
403Forbidden
404Not Found
500Internal Server Error
501Not Implemented
502Bad Gateway
503Service Unavailable
10060Connection timed out.
10061Connection refused by destination.
10065Host unreachable.
11001Host not found.

For the WinSock Proxy service, this field can be used to indicate a Windows (Win32) error code (for values less than 100), a Windows Sockets error code (for values between 10,000 and 11,004), or one of the connection error codes shown in the following table.

SourceValues
0Successful connection.
13301Connection rejected by Proxy Server (due to filtering or protocol permissions).
20000Normal connection termination.
20001Unexpected connection termination.

NOTE: A connection usually has two log entries: the first entry is for when the connection is established; the second entry is for when the connection is terminated. The first entry is logged with a result code of either 0 or 13301 and a byte count of 0. The second entry is logged with a result code of either 20000 or 20001 and the byte count.

REFERENCES

This information is available in the Padlog.htm file, part of the Proxy Server 2.0 documentation.

Modification Type:MajorLast Reviewed:5/11/2000
Keywords:kbinfo KB248695