New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
別ドメインのwandboxを利用したい #3
Comments
- Define server structure - TODO: sandbox-profiles to be deprecated?
手元の環境では問題なく動作するのだが、Travis CIのログを見てみると https://travis-ci.org/kosh04/emacs-wandbox/jobs/119997969
|
マニュアルと外側から観察する限りemacsビルトインのSSL/TLS関数がネゴシエーションに失敗していました。 https://www.gnu.org/software/emacs/manual/html_node/elisp/Network.html
https://glyph.twistedmatrix.com/2015/11/editor-malware.html
読み違えていたのですが、gnutlsを明示的に使わなければ回避は出来たのでその備忘録となります。
ただ名前空間全体が上書きされる気がするので、もしかするといやな事がおきるかもしれません。 ↓は作業手順とその結果となります。ご参考までに。。。 再現手順 1. gnutlsのネゴシエーションとtsharkの結果
再現手順 2. gnutlsを利用しないネゴシエーションとtsharkの結果
手元の再現環境
|
あああ、失敗している理由を書いていなかったでした。。。 |
ありがとうございます。 まだ実験途中ですが、組み込みのTLS関数を利用しなければ上記の問題を回避できることはわかったので、どうしても利用したい人は https://github.com/kosh04/emacs-wandbox/blob/develop/tls-patch.el |
Available other wandbox server. store server infomations to `wandbox-server` structure. HTTP request use request library, and s. Replace private functions to defsubst. Apply and Test tls stream patch. (optional) Update travis conf. refer to nlamirault/emacs-travis
Wandbox for CodeIQ
のような別ドメインで運用されているWandboxでも利用できるようにしたい。
今の実装ではコンパイラ一覧を先読みしてキャッシュとして利用しているため、
動的にドメイン変更を可能にする場合はキャッシュを上書きするか別の方法を考える必要がある。
The text was updated successfully, but these errors were encountered: