GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fixed error code. Added timeout to OCSP request (#16) · byule/snowflake-connector-python@ad08013

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • errorcode.py
  • ocsp_pyopenssl.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎errorcode.py‎

Copy file name to clipboardExpand all lines: errorcode.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
ER_SERVER_CERTIFICATE_REVOKED = 250004
1313
ER_NOT_HTTPS_USED = 250005
1414
ER_FAILED_TO_SERVER = 250006
15-
ER_IDP_CONNECTION_ERROR = 25007
16-
ER_INCORRECT_DESTINATION = 25008
15+
ER_IDP_CONNECTION_ERROR = 250007
16+
ER_INCORRECT_DESTINATION = 250008
1717

1818
# connection
1919
ER_NO_ACCOUNT_NAME = 251001
Collapse file

‎ocsp_pyopenssl.py‎

Copy file name to clipboardExpand all lines: ocsp_pyopenssl.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,8 @@ def execute_ocsp_request(ocsp_uri, cert_id, proxies=None, do_retry=True):
549549
ocsp_uri,
550550
headers=headers,
551551
proxies=proxies,
552-
data=data)
552+
data=data,
553+
timeout=60)
553554
if response.status_code == OK:
554555
logger.debug("OCSP response was successfully returned")
555556
break

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.