Skip to content

Commit a47b871

Browse files
committed
esp8266/Makefile: Bump axTLS TLS record buffer size to 5K.
The latest fashion is pushing certificate sub-chains, instead of a single certificate, during TLS handshake. These are pushed via single TLS record and effectively put minimum size limit on TLS record buffer. Recently, these commonly grew over 4K, so we have little choice but to adjust.
1 parent 82b9915 commit a47b871

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

esp8266/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ $(BUILD)/libaxtls.a:
234234
cd ../lib/axtls; cp config/upyconfig config/.config
235235
cd ../lib/axtls; $(MAKE) oldconfig -B
236236
cd ../lib/axtls; $(MAKE) clean
237-
cd ../lib/axtls; $(MAKE) all CC="$(CC)" LD="$(LD)" AR="$(AR)" CFLAGS_EXTRA="$(CFLAGS_XTENSA) -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=3072"
237+
cd ../lib/axtls; $(MAKE) all CC="$(CC)" LD="$(LD)" AR="$(AR)" CFLAGS_EXTRA="$(CFLAGS_XTENSA) -Dabort=abort_ -DRT_MAX_PLAIN_LENGTH=1024 -DRT_EXTRA=4096"
238238
cp ../lib/axtls/_stage/libaxtls.a $@
239239

240240
clean-modules:

0 commit comments

Comments
 (0)