Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
6afc11df
Commit
6afc11df
authored
Feb 28, 2020
by
Him188
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove debugging printlns
parent
01ff8469
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/highway/HighwayHelper.kt
...et/mamoe/mirai/qqandroid/network/highway/HighwayHelper.kt
+0
-2
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/highway/highway.kt
...tlin/net/mamoe/mirai/qqandroid/network/highway/highway.kt
+0
-1
No files found.
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/highway/HighwayHelper.kt
View file @
6afc11df
...
@@ -123,7 +123,6 @@ internal object HighwayHelper {
...
@@ -123,7 +123,6 @@ internal object HighwayHelper {
fileMd5
=
fileMd5
fileMd5
=
fileMd5
).
collect
{
).
collect
{
socket
.
send
(
it
)
socket
.
send
(
it
)
println
(
"sent"
)
//0A 3C 08 01 12 0A 31 39 39 34 37 30 31 30 32 31 1A 0C 50 69 63 55 70 2E 44 61 74 61 55 70 20 E9 A7 05 28 00 30 BD DB 8B 80 02 38 80 20 40 02 4A 0A 38 2E 32 2E 30 2E 31 32 39 36 50 84 10 12 3D 08 00 10 FD 08 18 00 20 FD 08 28 C6 01 38 00 42 10 D4 1D 8C D9 8F 00 B2 04 E9 80 09 98 EC F8 42 7E 4A 10 D4 1D 8C D9 8F 00 B2 04 E9 80 09 98 EC F8 42 7E 50 89 92 A2 FB 06 58 00 60 00 18 53 20 01 28 00 30 04 3A 00 40 E6 B7 F7 D9 80 2E 48 00 50 00
//0A 3C 08 01 12 0A 31 39 39 34 37 30 31 30 32 31 1A 0C 50 69 63 55 70 2E 44 61 74 61 55 70 20 E9 A7 05 28 00 30 BD DB 8B 80 02 38 80 20 40 02 4A 0A 38 2E 32 2E 30 2E 31 32 39 36 50 84 10 12 3D 08 00 10 FD 08 18 00 20 FD 08 28 C6 01 38 00 42 10 D4 1D 8C D9 8F 00 B2 04 E9 80 09 98 EC F8 42 7E 4A 10 D4 1D 8C D9 8F 00 B2 04 E9 80 09 98 EC F8 42 7E 50 89 92 A2 FB 06 58 00 60 00 18 53 20 01 28 00 30 04 3A 00 40 E6 B7 F7 D9 80 2E 48 00 50 00
socket
.
read
().
withUse
{
socket
.
read
().
withUse
{
discardExact
(
1
)
discardExact
(
1
)
...
@@ -132,7 +131,6 @@ internal object HighwayHelper {
...
@@ -132,7 +131,6 @@ internal object HighwayHelper {
val
proto
=
readProtoBuf
(
CSDataHighwayHead
.
RspDataHighwayHead
.
serializer
(),
length
=
headLength
)
val
proto
=
readProtoBuf
(
CSDataHighwayHead
.
RspDataHighwayHead
.
serializer
(),
length
=
headLength
)
check
(
proto
.
errorCode
==
0
)
{
"image upload failed: Transfer errno=${proto.errorCode}"
}
check
(
proto
.
errorCode
==
0
)
{
"image upload failed: Transfer errno=${proto.errorCode}"
}
}
}
println
(
"read"
)
}
}
}
}
}
}
...
...
mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/highway/highway.kt
View file @
6afc11df
...
@@ -89,7 +89,6 @@ internal fun createImageDataPacketSequence( // RequestDataTrans
...
@@ -89,7 +89,6 @@ internal fun createImageDataPacketSequence( // RequestDataTrans
writeInt
(
head
.
size
)
writeInt
(
head
.
size
)
writeInt
(
chunkedInput
.
bufferSize
)
writeInt
(
chunkedInput
.
bufferSize
)
writeFully
(
head
)
writeFully
(
head
)
println
(
chunkedInput
.
bufferSize
)
writeFully
(
chunkedInput
.
buffer
,
0
,
chunkedInput
.
bufferSize
)
writeFully
(
chunkedInput
.
buffer
,
0
,
chunkedInput
.
bufferSize
)
writeByte
(
41
)
writeByte
(
41
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment