OpenBSD CVS

CVS log for src/usr.sbin/smtpd/Attic/asr.c


[BACK] Up to [local] / src / usr.sbin / smtpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12, Mon Jul 9 12:16:24 2012 UTC (11 years, 10 months ago) by eric
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED

move to the new resolver implementation, with temporary glue to use
the relevant files from asr directly.

ok gilles@

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 15 19:51:23 2011 UTC (12 years, 5 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

better size check

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 13 16:14:43 2011 UTC (12 years, 10 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.9: +39 -12 lines
Diff to previous 1.9 (colored)

print more information in request state traces

ok gilles@

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 13 15:08:24 2011 UTC (12 years, 10 months ago) by eric
Branch: MAIN
Changes since 1.8: +9 -9 lines
Diff to previous 1.8 (colored)

fix indentation in switch

ok gilles@

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 7 13:16:17 2011 UTC (13 years ago) by eric
Branch: MAIN
Changes since 1.7: +5 -17 lines
Diff to previous 1.7 (colored)

there is already a function to set the portno.

ok gilles@

Revision 1.7 / (download) - annotate - [select for diffs], Sun Mar 27 17:39:17 2011 UTC (13 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

add missing CVS markers and update copyright year.

ok gilles@

Revision 1.6 / (download) - annotate - [select for diffs], Sat Mar 26 14:38:14 2011 UTC (13 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.5: +30 -23 lines
Diff to previous 1.5 (colored)

Tweak the asr API to make things a bit smoother on the user side.
Then asr_run() call now returns ASR_COND when a condition on a FD is
expected.  The exact condition (readable or writeable) is specified in
the asr_result structure, along with the fd and timeout.

ok gilles@

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 26 11:04:05 2011 UTC (13 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.4: +274 -1 lines
Diff to previous 1.4 (colored)

Merge a reverse lookup query implementation into asr.
Not used by the rest of smtpd for now.

ok gilles@

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 23 20:58:32 2011 UTC (13 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored)

The asr structure must always be freed in asr_done(). This is a
left-over from a former implementation where asr_ctx didn't exist and
struct asr was refcounted.

spotted by Jared Yanovich.

ok gilles@

Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 23 20:27:17 2011 UTC (13 years, 2 months ago) by eric
Branch: MAIN
Changes since 1.2: +0 -4 lines
Diff to previous 1.2 (colored)

remove unused states in enum

ok gilles@

Revision 1.2 / (download) - annotate - [select for diffs], Fri Dec 3 23:29:08 2010 UTC (13 years, 6 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.1: +48 -37 lines
Diff to previous 1.1 (colored)

be more strict on socket lifetime (fixes a fd leak).

ok gilles@

Revision 1.1 / (download) - annotate - [select for diffs], Mon Nov 29 15:25:55 2010 UTC (13 years, 6 months ago) by gilles
Branch: MAIN

replace the fork-based-non-blocking-resolver-hack by shiny async resolver
written by eric@. it is still experimental but still better than what we
had earlier so ... we'll improve in tree :)

diff by me with *lots* of help from eric@, tested by todd and I (and a
few people out there)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.