Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rfc2388-binary
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ucw
rfc2388-binary
Commits
13aa9620
Commit
13aa9620
authored
19 years ago
by
Maciek Pasternacki
Browse files
Options
Downloads
Patches
Plain Diff
Correctly handle CR inside data part.
darcs-hash:0feb812634fafd0dc85b640eba7fe41644d6c4f6
parent
af8ed2ae
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/rfc2388.lisp
+12
-11
12 additions, 11 deletions
source/rfc2388.lisp
with
12 additions
and
11 deletions
source/rfc2388.lisp
+
12
−
11
View file @
13aa9620
...
...
@@ -222,8 +222,8 @@ sequence."
(
setf
state
9
)
(
enqueue-byte
))
(
t
(
setf
state
0
)
(
flush-
queue
d
-byte
s
)
(
handle
-byte
))))
(
en
queue-byte
)
(
flush-queued
-byte
s
))))
(
10
;; Line-Feed
(
case
state
(
1
(
setf
state
2
)
...
...
@@ -233,8 +233,8 @@ sequence."
(
return-from
read-until-next-boundary
(
values
more-data
)))
(
t
(
setf
state
0
)
(
flush-
queue
d
-byte
s
)
(
handle
-byte
))))
(
en
queue-byte
)
(
flush-queued
-byte
s
))))
(
45
;; Dash
(
case
state
(
2
(
setf
state
3
)
...
...
@@ -251,15 +251,15 @@ sequence."
(
setf
state
5
)))
(
progn
(
setf
state
0
)
(
flush-
queue
d
-byte
s
)
(
handle
-byte
))))
(
en
queue-byte
)
(
flush-queued
-byte
s
))))
(
5
(
setf
state
6
)
(
enqueue-byte
))
(
6
(
setf
state
7
)
(
setf
more-data
nil
))
(
t
(
setf
state
0
)
(
flush-
queue
d
-byte
s
)
(
handle
-byte
))))
(
en
queue-byte
)
(
flush-queued
-byte
s
))))
(
t
(
cond
((
and
(
or
(
=
5
state
)
...
...
@@ -274,10 +274,11 @@ sequence."
(
when
(
=
boundary-index
boundary-length
)
;; done with the boundary
(
setf
state
5
)))
((
=
4
state
)
((
or
(
=
1
state
)
(
=
4
state
))
(
setf
state
0
)
(
flush-
queue
d
-byte
s
)
(
handle
-byte
))
(
en
queue-byte
)
(
flush-queued
-byte
s
))
(
t
(
setf
state
0
)
(
handle-byte
)))))
(
debug-message
"~S;~%"
state
)))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment