| Age | Commit message (Collapse) | Author |
|
=== Features Changes
* `lib/debug`: add function to write heap profile to file
* `lib/debug`: add type to store relative and difference on memory heap
* `lib/dns`: remove request pool
* `lib/dns`: export the connection field on UDPClient
* `lib/dns`: add type of connection
* `lib/http`: add parameter http.ResponseWriter to Callback.
* `lib/http`: the RegisterXxx functions now use the Endpoint type.
=== Enhancements
* Various fixes suggested by linters
* doc: add four summary and notes about DKIM
* doc: add summary of Simple Authentication and Security Layer (SASL)
* doc: add summary on SMTP over TLS (RFC3207)
* doc: add notes for Internet Message Format (RFC 5322)
* doc: add documentation for SMTP and DSN
=== Fixes
* `lib/git`: fix testdata and test input
|
|
The client is part is usable, but the server part is not fully developed.
|
|
WriteHeapProfile write memory profile into "/tmp/{prefix}.pid.heap.pprof".
If keepAlive is true, the file will be keep opened until error happened,
or caller send keepAlive=false, or when program end.
|
|
Four RFCs related to DKIM summarized in this doc are,
* DomainKeys Identified Mail Service Overview (RFC 5585)
* Analysis of Threats Motivating DKIM (RFC 4686)
* DKIM Development, Deployment, and Operations (RFC 5863)
* DKIM Signatures (RFC 6379)
|
|
The generated README on github page have some links that point to
generated HTML files but the files is not found (404).
Lets see if by including into repository, the links may works.
|
|
|
|
Somehow, the bare repository in testdata/beku_test is not detected as
repository by git version 2.20.1.495.gaa96b0ce6b.
|
|
|
|
The function body may bit too long, may be need to refactor in the future.
|
|
Since the statement after sendError will break and return from function,
there is no need to check for error.
|
|
The if condition inside loop will break and return nil eventually.
|
|
gosec linter assume that trace information that start with "FROM" is an
SQL statement.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Most of the warnings are caused by old-habits of using "0 == var" style
of checking variable value, others are if-else condition that can be
joined.
|
|
This type, MemHeap, is simplified value of runtime.MemStats.
The MemHeap represent the growth of heap memory in bytes and in number
of allocated objects.
|
|
Using request pooling just make the implementation a little bit complex.
Implementator must know that request need to be release by using
FreeRequest to minimize memory allocation.
|
|
Add missing information about return value of type MR and SRV.
|
|
The connection field may be used by implementor to test, debug, or use the
connection directly.
|
|
The previous port number, 5353, is used by another program, which make
the test run failed.
The new port number is 5300.
|
|
This is to limit implementation to assign value of connection type to
known values only.
|
|
|
|
The non nil ServerInfo indicate that client has been called EHLO or HELO
before, which required for client to check whether server support AUTH
extension or not.
|
|
|
|
|
|
The Params will return the list of argument that supported by extension.
|
|
The SMTP AUTH is implemented as a core command instead of as an extension.
|
|
The SASL documentation provide a quick understanding on how SASL works
which provide illustration on how to implement the SASL mechanism on smtp
library.
|
|
|
|
Additional note on lib/smtp: the server favor implicit TLS over STARTTLS
(RFC8314), which means if server's environment is configured with
certificate, server will listen on port 465 only, not on port 25 and 465
and neither on port 465 and 587.
|