mirror of
https://github.com/rkd77/elinks.git
synced 2024-10-01 03:36:26 -04:00
Big file upload failed with https, because 32768 bytes is too big for SSL,
16384 is OK.
This commit is contained in:
parent
fcb4e98498
commit
5755137630
@ -592,7 +592,7 @@ accept_encoding_header(struct string *header)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#define POST_BUFFER_SIZE 32768
|
#define POST_BUFFER_SIZE 16384
|
||||||
#define BIG_READ 655360
|
#define BIG_READ 655360
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -614,7 +614,7 @@ send_more_post_data(struct socket *socket)
|
|||||||
/* Can't use request_from_socket() because there's no
|
/* Can't use request_from_socket() because there's no
|
||||||
* more data to write. */
|
* more data to write. */
|
||||||
struct read_buffer *rb = alloc_read_buffer(socket);
|
struct read_buffer *rb = alloc_read_buffer(socket);
|
||||||
|
|
||||||
socket->state = SOCKET_END_ONCLOSE;
|
socket->state = SOCKET_END_ONCLOSE;
|
||||||
if (rb)
|
if (rb)
|
||||||
read_from_socket(socket, rb, connection_state(S_SENT),
|
read_from_socket(socket, rb, connection_state(S_SENT),
|
||||||
|
Loading…
Reference in New Issue
Block a user