[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/websocket f902bc04db 010/114: * websocket.el: Fix proce
From: |
ELPA Syncer |
Subject: |
[elpa] externals/websocket f902bc04db 010/114: * websocket.el: Fix process-coding-system for client connections. |
Date: |
Wed, 15 Feb 2023 20:58:55 -0500 (EST) |
branch: externals/websocket
commit f902bc04dbc5431771a2b9c33899152f57e6152f
Author: Andrew Hyatt <ahyatt@gmail.com>
Commit: Andrew Hyatt <ahyatt@gmail.com>
* websocket.el: Fix process-coding-system for client connections.
We previously set the coding-system to unix for encoding and
decoding, then overwrote it with binary for encoding but not
decoding. I don't know why that happened, now we'll just set the
coding system to binary for encoding and decoding, which fixes an
issue with connections on Windows.
---
websocket.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/websocket.el b/websocket.el
index 7ba3a537f4..d07d870d7a 100644
--- a/websocket.el
+++ b/websocket.el
@@ -840,10 +840,9 @@ connection, which should be kept in order to pass to
:extensions (mapcar 'car (process-get server :extensions)))))
(unless (member ws websocket-server-websockets)
(push ws websocket-server-websockets))
- (set-process-coding-system client 'unix 'unix)
(process-put client :websocket ws)
(set-process-filter client 'websocket-server-filter)
- (set-process-coding-system client 'binary)
+ (set-process-coding-system client 'binary 'binary)
(set-process-sentinel client
(lambda (process change)
(let ((websocket (process-get process :websocket)))
- [elpa] externals/websocket updated (1f086f14f0 -> 2c923eba75), ELPA Syncer, 2023/02/15
- [elpa] externals/websocket 07867563de 001/114: Don't assume any change to the process is bad - check before closing., ELPA Syncer, 2023/02/15
- [elpa] externals/websocket 2bfc3036f6 004/114: Handle on-close for all varieties of websocket closings., ELPA Syncer, 2023/02/15
- [elpa] externals/websocket 0dd3175fa7 003/114: Fix tests to handle extra argument to websocket-encode-frame., ELPA Syncer, 2023/02/15
- [elpa] externals/websocket 5f7decd210 006/114: Fix for on-close in websocket test, ELPA Syncer, 2023/02/15
- [elpa] externals/websocket 4ca9d4d32a 009/114: Set the version to 1.2, after the last set of server changes., ELPA Syncer, 2023/02/15
- [elpa] externals/websocket f902bc04db 010/114: * websocket.el: Fix process-coding-system for client connections.,
ELPA Syncer <=
- [elpa] externals/websocket 6da0627a10 002/114: Correctly set websocket-server-p, and don't mask server communication., ELPA Syncer, 2023/02/15
- [elpa] externals/websocket ee7797234b 012/114: * websocket.el: Throw clear error when connection cannot be made., ELPA Syncer, 2023/02/15
- [elpa] externals/websocket ef975a91f1 008/114: Restore a bit of testing I accidentally deleted., ELPA Syncer, 2023/02/15
- [elpa] externals/websocket 8d0ca79cd3 036/114: Have functional test use :host 'local, ELPA Syncer, 2023/02/15
- [elpa] externals/websocket 97b7418dae 013/114: Permit non-numeric port number in websocket-server, ELPA Syncer, 2023/02/15
- [elpa] externals/websocket 28e55d5654 015/114: Fix misuse of same-origin policy, ELPA Syncer, 2023/02/15
- [elpa] externals/websocket b9ae25843a 016/114: Fix breaking test., ELPA Syncer, 2023/02/15
- [elpa] externals/websocket 01c8d98f69 011/114: * websocket.el: Remove use of buffers in connections. This simplifies, ELPA Syncer, 2023/02/15
- [elpa] externals/websocket 111febe203 020/114: Fix `websocket-version': update to 1.3, ELPA Syncer, 2023/02/15
- [elpa] externals/websocket 9aad2f754f 022/114: Add supports for <32 bit emacs., ELPA Syncer, 2023/02/15