Skip to content

Commit 9f34ec7

Browse files
committed
Separate Socket and SSLSocket, add LWIP connect
1 parent 97f5d21 commit 9f34ec7

File tree

14 files changed

+876
-372
lines changed

14 files changed

+876
-372
lines changed

locale/circuitpython.pot

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,10 @@ msgstr ""
622622
msgid "Cannot reset into bootloader because no bootloader is present."
623623
msgstr ""
624624

625+
#: ports/esp32s2/common-hal/socketpool/Socket.c
626+
msgid "Cannot set socket options"
627+
msgstr ""
628+
625629
#: shared-bindings/digitalio/DigitalInOut.c
626630
msgid "Cannot set value when direction is input."
627631
msgstr ""
@@ -854,7 +858,7 @@ msgstr ""
854858
msgid "Error in regex"
855859
msgstr ""
856860

857-
#: shared-bindings/socketpool/Socket.c
861+
#: shared-bindings/socketpool/Socket.c shared-bindings/ssl/SSLSocket.c
858862
msgid "Error: Failure to bind"
859863
msgstr ""
860864

@@ -912,7 +916,7 @@ msgstr ""
912916
msgid "FFT is implemented for linear arrays only"
913917
msgstr ""
914918

915-
#: ports/esp32s2/common-hal/socketpool/Socket.c
919+
#: ports/esp32s2/common-hal/ssl/SSLSocket.c
916920
msgid "Failed SSL handshake"
917921
msgstr ""
918922

@@ -1248,18 +1252,14 @@ msgstr ""
12481252
msgid "Invalid size"
12491253
msgstr ""
12501254

1251-
#: ports/esp32s2/common-hal/socketpool/Socket.c
1255+
#: ports/esp32s2/common-hal/ssl/SSLContext.c
12521256
msgid "Invalid socket for TLS"
12531257
msgstr ""
12541258

12551259
#: ports/esp32s2/bindings/espidf/__init__.c ports/esp32s2/esp_error.c
12561260
msgid "Invalid state"
12571261
msgstr ""
12581262

1259-
#: ports/esp32s2/common-hal/socketpool/Socket.c
1260-
msgid "Invalid use of TLS Socket"
1261-
msgstr ""
1262-
12631263
#: shared-bindings/audiomixer/Mixer.c
12641264
msgid "Invalid voice"
12651265
msgstr ""
@@ -1276,10 +1276,6 @@ msgstr ""
12761276
msgid "Invalid word/bit length"
12771277
msgstr ""
12781278

1279-
#: ports/esp32s2/common-hal/socketpool/Socket.c
1280-
msgid "Issue setting SO_REUSEADDR"
1281-
msgstr ""
1282-
12831279
#: shared-bindings/aesio/aes.c
12841280
msgid "Key must be 16, 24, or 32 bytes long"
12851281
msgstr ""
@@ -1562,7 +1558,7 @@ msgstr ""
15621558
msgid "Out of memory"
15631559
msgstr ""
15641560

1565-
#: ports/esp32s2/common-hal/socketpool/Socket.c
1561+
#: ports/esp32s2/common-hal/socketpool/SocketPool.c
15661562
msgid "Out of sockets"
15671563
msgstr ""
15681564

@@ -2027,7 +2023,7 @@ msgstr ""
20272023
msgid "Unexpected nrfx uuid type"
20282024
msgstr ""
20292025

2030-
#: ports/esp32s2/common-hal/socketpool/Socket.c
2026+
#: ports/esp32s2/common-hal/ssl/SSLSocket.c
20312027
#, c-format
20322028
msgid "Unhandled ESP TLS error %d %d %x %d"
20332029
msgstr ""
@@ -2324,7 +2320,7 @@ msgstr ""
23242320
msgid "buffer too small"
23252321
msgstr ""
23262322

2327-
#: shared-bindings/socketpool/Socket.c
2323+
#: shared-bindings/socketpool/Socket.c shared-bindings/ssl/SSLSocket.c
23282324
msgid "buffer too small for requested bytes"
23292325
msgstr ""
23302326

0 commit comments

Comments
 (0)