Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

## require socket to be configured (and connected?) by socket creator

オープン
#3,629 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, node.js, postgresql

調査の方向性

デフォルトのソケット作成パスと、ソケットが渡された場合に使用されるパスを追跡し、socketOptions、noDelay、connect の動作に焦点を当てます。これを Cloudflare のソケット互換性に関する懸念と比較します。完了とは、ソケットの作成側が初期化を担い、渡されたソケットにはそれ以上の初期化を行わないことを意味します。

索引モデルが issue の本文から書いたものです。

説明

require socket to be configured (and connected?) by socket creator

I’ll try to get around to expanding on this later, but in short:

  • new config option socketOptions: {keepAlive, keepAliveInitialDelay [sic], …}
  • default socket is new net.Socket({noDelay: true, ...socketOptions}).connect(…)
  • if socket is passed, no further initialization

(see compatibility issues with Cloudflare sockets, for one; this single change might be enough to allow generic stream to be passed as socket?)

Originally posted by @charmander in https://github.com/brianc/node-postgres/discussions/3598#discussioncomment-15909019

主要言語
JavaScript
スター
13.2k
フォーク
1.4k
平均マージ
6日 15時間
マージ済み PR(30日)
6

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

brianc/node-postgres のほかの issue

brianc/node-postgres の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。