MCPcopy Create free account
hub / github.com/OpenPrinting/cups / if

Function if

cups/getdevices.c:135–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133
134#ifdef HAVE_TLS
135 else if (status == HTTP_STATUS_UPGRADE_REQUIRED)
136 {
137 /*
138 * Force a reconnect with encryption...
139 */
140
141 DEBUG_puts("2cupsGetDevices: Need encryption...");
142
143 if (!httpReconnect2(http, 30000, NULL))
144 httpEncryption(http, HTTP_ENCRYPTION_REQUIRED);
145 }
146#endif /* HAVE_TLS */
147 }
148 }

Callers

nothing calls this directly

Calls 2

httpReconnect2Function · 0.85
httpEncryptionFunction · 0.85

Tested by

no test coverage detected